top | item 20862591

Synsh: Shell Pipeline Synthesizer

3 points| psuter | 6 years ago |synsh.dev

1 comment

order

lioeters|6 years ago

Very interesting idea!

For others, here's what I understood from the About page: the "synthesizer" is not a musical one, it's algorithmic. You give examples of inputs and outputs you want, and it "synthesizes" a pipeline of shell command(s) to make that transformation.

Example:

Input: 1,2,3

Output: 123

Result:

  # 1. Delete occurrences of ",".
  tr -d ,