I hate to assume your motives are bad-hearted, but I'm
not sure if you're trolling or something?
On 01/17/24 07:00PM, 201009-suckl...@planhack.com wrote:
> Use files.
>
> ./program-cli | (
> read -r
> printf "%s\n" "$REPLY" > /tmp/a
> ) > /tmp/b
> fooify /tmp/a
> barify /tmp/b
>
>
To corr
Use files.
./program-cli | (
read -r
printf "%s\n" "$REPLY" > /tmp/a
) > /tmp/b
fooify /tmp/a
barify /tmp/b
On 01/15/24 03:14PM, Greg Reagle wrote:
> I didn't know that you could use the shell like this. What a delightful
> surprise. Here is the code for bash/dash:
>
> command | (read -r; printf "%s\n" "$REPLY"; sort)
>
Thanks for sharing.
This is neat, however, it gets really gay when mult