From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 May 2007 18:03:28 -0500 From: Benn Newman To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: RE: [9fans] A simple rc question Message-ID: <4648BF8D@webmail.snc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 67f44fd8-ead2-11e9-9d60-3106f5b1d025 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 <9fans@cse.psu.edu> ===== >> 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