Re: [PATCH] Fix non-POSIX:isms in base-config

2004-06-13 Thread David Weinehall
On Sat, Jun 12, 2004 at 12:59:33PM -0500, Steve Langasek wrote: > On Fri, Jun 11, 2004 at 07:39:10AM +0200, David Weinehall wrote: > > Several of the shell-scripts contain non-POSIXisms (such as XPIisms and > > BASHisms); this simple patch fixes them. > > > egrep => grep -E > > $ which egrep > /b

Re: [PATCH] Fix non-POSIX:isms in base-config

2004-06-12 Thread Steve Langasek
On Fri, Jun 11, 2004 at 07:39:10AM +0200, David Weinehall wrote: > Several of the shell-scripts contain non-POSIXisms (such as XPIisms and > BASHisms); this simple patch fixes them. > egrep => grep -E $ which egrep /bin/egrep $ I don't see any reason this needs to change. Policy certainly doesn

[PATCH] Fix non-POSIX:isms in base-config

2004-06-10 Thread David Weinehall
Several of the shell-scripts contain non-POSIXisms (such as XPIisms and BASHisms); this simple patch fixes them. (Manual) substitutions done: -a and -o => expressions that uses && and || instead type => which trap: use signal-names instead of signal-numbers tail + => tail -n+ egrep => grep -E If