$ x=//
$ eval "echo \$x"
/
Okay, I confirm this on spe147.testdrive.hp.com with /bin/sh.
$ echo / // /// //// .// //.
/ / // /// ./ //.
Confirmed. This also happens with /usr/bin/echo.
$ set -x
$ echo abc| tr -t ab //
+ echo abc
+ tr -t ab /
/bc
Confirmed on the "+" lines, but I get:
[EMAIL PROTECTED] echo abc | tr -t ab //
+ echo abc
+ tr -t ab /
tr: illegal option -- t
Usage: tr [ -c | -cds | -cs | -ds | -s ] [-A] String1 String2
tr [ -cd | -cs | -d | -s ] [-A] String1
Michael C
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils