Groups | Search | Server Info | Login | Register


Groups > comp.unix.misc > #62

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

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>
Date 2012-02-27 13:14 +0000
Message-ID <77cs19-spe.ln1@leafnode-msgid.gclare.org.uk> (permalink)
Organization Zen Internet

Cross-posted to 2 groups.

Show all headers | 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