Re: Properly restore IFS

Alkis Georgopoulos <[email protected]> Sun, 24 Jan 2010 20:25:19 +0200
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1264357519.1699.71.camel@alkis>
Erm, I've sent an older version... To follow our CodingStyle the restore
line is:
  test "$oldifs" = "not set" && unset IFS || IFS="$oldifs"

and to allow nested use, oldifs should be declared local if this is used
inside some function.

Στις 24-01-2010, ημέρα Κυρ, και ώρα 20:11 +0200, ο/η Alkis Georgopoulos
έγραψε:
> Following some discussion with vagrantc and stgraber on IRC, I'm going
> to commit a non-obvious change to IFS saving/restoring, so I'm sending a
> script to clarify it and for future reference.



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net