[EMAIL PROTECTED] (Luca Berra) writes: > On Mon, Sep 15, 2003 at 06:18:02PM +0200, Florin wrote: > >whart is the result of the following command ? > > > >grep -v ^$ /etc/shorewall/{zones,interfaces,masq,policy,rules} | grep -v #: > > > Usage: grep [OPTION]... PATTERN [FILE]... > Try `grep --help' for more information. > > :)))))))) > seriuosly i think you meant > grep -v -e '^$' -e '^#' /etc/shorewall/{zones,interfaces,masq,policy,rules}
oups, I meant grep -v ^$ /etc/shorewall/{zones,interfaces,masq,policy,rules} | grep -v :# -- Florin http://www.mandrakesoft.com http://people.mandrakesoft.com/~florin/