[lug] simple bash Q.

D. Stimits stimits at idcomm.com
Sat Mar 9 15:29:34 MST 2002


...
> > sed rules.
> 
> If I don't find a built-in way from bash I'll go ahead and use this. It
> seems strange though that bash wouldn't have something already for such
> a basic string processing command. On the other hand, maybe it'll give
> me an excuse to become a bit more familiar with sed.
> 
> D. Stimits, stimits at idcomm.com
> 
> >
> > -Peter


I just thought of something that makes it a bad idea to use tr for this
case. It is in an init script that will run after root filesystem has
been mounted, but not others. If /usr/ is on a separate partition it'll
cause the script to fail.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list