On Sat, 14 Feb 2004, Dan Jacobson wrote:
> Odd, the "'" gets stuck into the date. 2.05b.0(1)-release.
> $ cat q
> export LC_ALL=C
> set -x
> : $'\n\n'======$(date)==========
> $ sh q
> ++ date
> + : '
>
> ======Sat' Feb 14 12:28:09 GMT-8 2004==========
man bash:
QUOTING
.....
Words of the form $'string' are treated specially.....
.....
The expanded result is single-quoted, as if the dollar sign had
not been present.
--
Chris F.A. Johnson
=================================================================
cfaj@freeshell.org http://cfaj.freeshell.org