Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bashing away at Unix
- Date: Sat, 15 Mar 2008 16:22:47 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Bashing away at Unix
- References: <47D7A519.70409@imaginatorium.org> <20080312101925.5b996fe6.gstewart@bonivet.net> <ed10ee420803140059s7f2c8398p9f06ae4c173f6f69@mail.gmail.com> <78d7dd350803140132x36ca0133m915dd9dee59b24b7@mail.gmail.com> <87y78lskxz.fsf@uwakimon.sk.tsukuba.ac.jp> <78d7dd350803140257t3a3fdbbat913b079a795a425a@mail.gmail.com> <ed10ee420803140322t5a6aeb95tcdece78abbc6dd62@mail.gmail.com> <d8fcc0800803140409j7f824076v2a5f47c5ad4e7ede@mail.gmail.com> <20080314125741.GB41009@mail.scottro.net> <20080314143555.GA21970@phb>
On 14/03/2008, Dave Brown <dagbrown@example.com> wrote: > When I write a shell script that starts with #!/bin/sh, I set my > baseline a lot lower than is probably really necessary, because I > believe in playing it safe rather than sorry. Agreed. I write conditionals like this: if test -n "$1"; then # do something fi not this way: if [ -n "$1" ]; then # do something fi Because one ancient /bin/sh on Solaris 7 or SunOS 2.5 did not alias [] to test. :) -- Cheers, Josh
- Follow-Ups:
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- References:
- [tlug] Bashing away at Unix
- From: Brian Chandler
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Nguyen Vu Hung
- Re: [tlug] Bashing away at Unix
- From: Stephen J. Turnbull
- Re: [tlug] Bashing away at Unix
- From: Nguyen Vu Hung
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Josh Glover
- Re: [tlug] Bashing away at Unix
- From: Scott Robbins
- Re: [tlug] Bashing away at Unix
- From: Dave Brown
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Bashing away at Unix
- Next by Date: Re: [tlug] Bashing away at Unix
- Previous by thread: Re: [tlug] Bashing away at Unix
- Next by thread: Re: [tlug] Bashing away at Unix
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links