Re: [ and test (was dhcpd rc bug?)

2008-03-14 Thread Alexander Hall
Otto Moerbeek wrote: On Fri, Mar 14, 2008 at 09:02:19PM +1300, Richard Toohey wrote: On 14/03/2008, at 8:31 PM, Richard Toohey wrote: On 14/03/2008, at 8:15 PM, Erwin van Maanen wrote: if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then Now i have no clue what " -a -f " does

Re: [ and test (was dhcpd rc bug?)

2008-03-14 Thread Otto Moerbeek
On Fri, Mar 14, 2008 at 09:02:19PM +1300, Richard Toohey wrote: > On 14/03/2008, at 8:31 PM, Richard Toohey wrote: >> On 14/03/2008, at 8:15 PM, Erwin van Maanen wrote: >>> if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then >>> Now i have no clue what " -a -f " does (anyone care to

Re: [ and test (was dhcpd rc bug?)

2008-03-14 Thread Erwin van Maanen
c: OpenBSD-Misc Misc Subject: Re: [ and test (was dhcpd rc bug?) On 14/03/2008, at 8:31 PM, Richard Toohey wrote: > On 14/03/2008, at 8:15 PM, Erwin van Maanen wrote: >> if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then Now i >> have no clue wh

Re: [ and test (was dhcpd rc bug?)

2008-03-14 Thread Richard Toohey
On 14/03/2008, at 8:31 PM, Richard Toohey wrote: On 14/03/2008, at 8:15 PM, Erwin van Maanen wrote: if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then Now i have no clue what " -a -f " does (anyone care to point me to the right manual?) [cut] man test -f file Tru