On Tue, Sep 25, 2007 at 08:37:12AM -0500, Ron Johnson <[EMAIL PROTECTED]> was 
heard to say:
> -----BEGIN PGP SIGNED MESSAGE-----
> What about:
> sudo (command_1 | command_2)

  Won't work -- the ()s are shell metacharacters, and sudo knows
nothing about them.  What you would need to do this with just one
sudo is something like:

sudo sh -c "command_1 | command_2"

  with appropriate wariness towards quoting gremlins.

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to