[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch-backports and gpg problems (SOLVED)



On Tue, Sep 25, 2007 at 08:37:12AM -0500, Ron Johnson <ron.l.johnson@cox.net> 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



Reply to: