[4999] in SIPB bug reports

home help back first fref pref prev next nref lref last post

mosaic outputs cruft to stdout

daemon@ATHENA.MIT.EDU (Mark W. Eichin)
Fri Oct 28 17:11:45 1994

Date: Fri, 28 Oct 1994 17:10:42 +0500
From: "Mark W. Eichin" <eichin@MIT.EDU>
To: yandros@MIT.EDU
Cc: jhawk@MIT.EDU, bug-outland@MIT.EDU, bug-sipb@MIT.EDU, yoav@MIT.EDU
In-Reply-To: yandros@MIT.EDU's message of Fri, 28 Oct 1994 04:11:48 +0500 <9410280811.AA10984@infocalypse.MIT.EDU>

Allegedly, "$@" is *not* the same as simply quoting the whole string
of arguments. According to man sh under solaris (though I recall the
same text from BSD...)

     Inside a pair of double quote marks (""), parameter and com-
     mand substitution occurs and the shell quotes the results to
     avoid blank interpretation and file name generation.  If $ *
     is within a pair of double quotes, the positional parameters
     are substituted and quoted, separated by quoted spaces  ("$1
>    $2  ..."); however, if $@ is within a pair of double quotes,
>    the  positional  parameters  are  substituted  and   quoted,
>    separated by unquoted spaces ("$1" "$2" ... ).  \ quotes the
     characters \, `,  , and $.  The  pair  \newline  is  removed
     before  parameter  and command substitution.  If a backslash
     precedes characters other than \, `,  , $, and newline, then
     the backslash itself is quoted by the shell.

home help back first fref pref prev next nref lref last post