Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.misc > #62

Re: unset, set variables, and arithmetic and other options

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 <geoff@clare.See-My-Signature.invalid>
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> <jicvqa$d40$1@news.m-online.net>
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> (permalink)
Lines 11
Organization Zen Internet
NNTP-Posting-Host 2673ea7d.news.zen.co.uk
X-Trace DXC=BEYAEh4NBiPoS>6CUf2S_]YjZGX^207P[`<MJMoM3PF][H=7Wk3A^8]4CJ\2i>aFoT>P83MgUBGaZH8K3`QK5WKX
X-Complaints-To abuse@zen.co.uk
Xref x330-a1.tempe.blueboxinc.net comp.unix.shell:4213 comp.unix.misc:62

Cross-posted to 2 groups.

Show key headers only | View raw


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 <netnews@gclare.org.uk>

Back to comp.unix.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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