Re: sh-programming and initscripts

1999-09-15 Thread Aaron Schrab
At 07:28 +0800 15 Sep 1999, John Summerfield <[EMAIL PROTECTED]> wrote: > I sometimes use the form > cat ... | grep > to mask the names of the source files from grep. That's a valid reason to do that for one time commands where it doesn't pay to check the man page. But, for a script that will be

Re: sh-programming and initscripts

1999-09-15 Thread John Summerfield
> At 14:12 9/14/99 -0400, Andrew E. Mileski wrote: > >Frank Heldt wrote: > >> i looked over the latest initscripts rpm from rawhide and saw some > >> constructs like > >> "cat file | grep expression" in /etc/rc.d/rc.sysinit. > >> > >> Well, don't you thing a simple "grep expression file" is easie

Re: sh-programming and initscripts

1999-09-14 Thread Andrew E. Mileski
> >> "cat file | grep expression" in /etc/rc.d/rc.sysinit. > > Huh? I don't follow the connection from the question to the response Heh...well that qualifies on my part for... DOH! *slaps forehead* You are right. -- Andrew E. Mileski Software Engineer Rebel.com http://www.rebel.com/ -

Re: sh-programming and initscripts

1999-09-14 Thread Chris Abbey
At 14:12 9/14/99 -0400, Andrew E. Mileski wrote: >Frank Heldt wrote: >> i looked over the latest initscripts rpm from rawhide and saw some >> constructs like >> "cat file | grep expression" in /etc/rc.d/rc.sysinit. >> >> Well, don't you thing a simple "grep expression file" is easier & faster ? >

Re: sh-programming and initscripts

1999-09-14 Thread Andrew E. Mileski
Frank Heldt wrote: > i looked over the latest initscripts rpm from rawhide and saw some > constructs like > "cat file | grep expression" in /etc/rc.d/rc.sysinit. > > Well, don't you thing a simple "grep expression file" is easier & faster ? Well you to to make sure that initscripts only use util