Re: help, help scripting masters

From: Arthur Corliss <acorliss@nevaeh-linux.org>
Date: Mon Mar 22 2004 - 23:04:15 AKST

On Mon, 22 Mar 2004 captgoodnight@acsalaska.net wrote:

> Hey, that works.
> oh, hm, umm, |;p) THANK YOU!!!!!!!!

Okay, that's really annoying, what shell are you using?! This violates the
POSIX.2 specifications, which states:

  The shell shall expand the command substitution by executing command in a
  subshell environment (see Shell Execution Environment ) and replacing the
  command substitution (the text of command plus the enclosing "$()" or
  backquotes) with the standard output of the command, removing sequences of
  one or more <newline>s at the end of the substitution. Embedded <newline>s
  before the end of the output shall not be removed; however, they may be
  treated as field delimiters and eliminated during field splitting, depending
  on the value of IFS and quoting that is in effect.

http://www.opengroup.org/onlinepubs/007904975/utilities/xcu_chap02.html#tag_02

:-P <thewppp!> to your shell! ;-)

        --Arthur Corliss
          Bolverk's Lair -- http://arthur.corlissfamily.org/
          Digital Mages -- http://www.digitalmages.com/
          "Live Free or Die, the Only Way to Live" -- NH State Motto
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Mar 22 23:03:50 2004

This archive was generated by hypermail 2.1.8 : Mon Mar 22 2004 - 23:03:50 AKST