Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail Newsgroups: comp.unix.shell,comp.unix.misc From: Geoff Clare Subject: Re: unset, set variables, and arithmetic and other options References: <9c4aeca1-4e97-49a8-87a1-c71ffc6ec33d@w4g2000vbc.googlegroups.com> <867gzavxk7.fsf@gray.siamics.net> <0eb03ff8-3f4f-407a-80bd-ae1a4f060a2d@d17g2000vba.googlegroups.com> User-Agent: XPN/1.2.6 (Street Spirit ; Linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Mon, 27 Feb 2012 13:14:47 +0000 Message-ID: <77cs19-spe.ln1@leafnode-msgid.gclare.org.uk> Lines: 11 Organization: Zen Internet NNTP-Posting-Host: 2673ea7d.news.zen.co.uk X-Trace: DXC=BEYAEh4NBiPoS>6CUf2S_]YjZGX^207P[`aFoT>P83MgUBGaZH8K3`QK5WKX X-Complaints-To: abuse@zen.co.uk Xref: x330-a1.tempe.blueboxinc.net comp.unix.shell:4213 comp.unix.misc:62 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. -- Geoff Clare