|
10.8 Slashes in Shell Scripts
Unpatched Tru64 5.1 sh omits the last slash of command-line
arguments that contain two trailing slashes:
$ echo / // /// //// .// //.
/ / // /// ./ //.
$ x=//
$ eval "echo \$x"
/
$ set -x
$ echo abc | tr -t ab //
+ echo abc
+ tr -t ab /
/bc
However, our understanding is that patches are available, so perhaps
it's not worth worrying about working around this horrendous bug.
|
|