4 ms·
is there a good "streaming sam" implementation that can be used instead of sed?
by ithkuil 3y ago
is there a good "streaming sam" implementation that can be used instead of sed?
- throwaway68218 3y agoPlan 9 from User Space [1] a.k.a. plan9port includes an official *nix port of sam and its streamed variant ssam(1) [2]. [1] https://9fans.github.io/plan9port/ https://9fans.github.io/plan9port/ [2] https://9fans.github.io/plan9port/man/man1/ssam.html https://9fans.github.io/plan9port/man/man1/ssam.html
- thristian 3y agodeadpixi's sam port[1] includes a "ssam" command, but it's just a shell-script that writes standard input to a temporary file, launches sam to run commands, then copies the temporary file to standard output - it's not really a "stream". "Plan 9 from User Space" has its own ssam command, whose implementation is basically the same, except as an rc script instead of a shell script. I don't know if there's an actually-streaming sam implementation anywhere. [1]: https://github.com/deadpixi/sam https://github.com/deadpixi/sam