Groups | Search | Server Info | Login | Register
| From | Kaz Kylheku <kaz@kylheku.com> |
|---|---|
| Newsgroups | comp.unix.shell, comp.unix.misc |
| Subject | Re: unset, set variables, and arithmetic and other options |
| Followup-To | comp.unix.shell |
| Date | 2012-02-27 13:42 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <20120227053316.757@kylheku.com> (permalink) |
| References | <9c4aeca1-4e97-49a8-87a1-c71ffc6ec33d@w4g2000vbc.googlegroups.com> <867gzavxk7.fsf@gray.siamics.net> <0eb03ff8-3f4f-407a-80bd-ae1a4f060a2d@d17g2000vba.googlegroups.com> <jicvqa$d40$1@news.m-online.net> <77cs19-spe.ln1@leafnode-msgid.gclare.org.uk> |
Cross-posted to 2 groups.
Followups directed to: comp.unix.shell
["Followup-To:" header set to comp.unix.shell.] On 2012-02-27, Geoff Clare <geoff@clare.See-My-Signature.invalid> wrote: > Janis Papanagnou wrote: > >> Unset and empty are not the same, as shown. There are contexts where >> the difference don't matter, though; e.g. if you expand the variables >> to obtain their value, which is in both cases just empty. > > Unless "set -u" is in effect. +1 A darn good idea for any non-throwaway script longer than half a page.
Back to comp.unix.misc | Previous | Next — Previous in thread | Next in thread | Find similar
unset, set variables, and arithmetic and other options Beta What <lite.on.beta@gmail.com> - 2012-02-25 22:46 -0800
Re: unset, set variables, and arithmetic and other options Ivan Shmakov <oneingray@gmail.com> - 2012-02-26 14:55 +0700
Re: unset, set variables, and arithmetic and other options Beta What <lite.on.beta@gmail.com> - 2012-02-26 00:18 -0800
Re: unset, set variables, and arithmetic and other options Janis Papanagnou <janis_papanagnou@hotmail.com> - 2012-02-26 10:59 +0100
Re: unset, set variables, and arithmetic and other options Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2012-02-27 13:14 +0000
Re: unset, set variables, and arithmetic and other options Kaz Kylheku <kaz@kylheku.com> - 2012-02-27 13:42 +0000
Re: unset, set variables, and arithmetic and other options John McCue <jmccue@jmclin0.hsd1.ma.comcast.net> - 2012-02-26 16:20 +0000
csiph-web