Duff answered ron's question in âRc â The Plan 9 Shellâ.
12. Command grouping
A sequence of commands enclosed in {} may be used anywhere a command is
required. For example:
{sleep 3600;echo âTimeââs up!â}&
will wait an hour in the background, then print a message. Without the
braces,
sleep 3600;echo âTimeââs up!â&
would lock up the terminal for an hour, then print the message in the
background.
>===== Original Message From Fans of the OS Plan 9 from Bell Labs
<[email protected]> =====
>> I suspected that and will try it, but the man page is pretty clear (I
>> thought) that
>> a|b is a single command. I still think the & should bind to the
>> pipeline, but ...
>
>a PIPE is a cmd, so i'd expect that too.
>it would also be tedious if
> cat burp | sed 's/mumble/frog/' | md5sum &
>ran only the md5sum in the background.
--
Benn Newman