autoconf: Slashes
1
1 11.11 Slashes in Shell Scripts
1 ==============================
1
1 Unpatched Tru64 5.1 `sh' omits the last slash of command-line arguments
1 that contain two trailing slashes:
1
1 $ echo / // /// //// .// //.
1 / / // /// ./ //.
1 $ x=//
1 $ eval "echo \$x"
1 /
1 $ set -x
1 $ echo abc | tr -t ab //
1 + echo abc
1 + tr -t ab /
1 /bc
1
1 Unpatched Tru64 4.0 `sh' adds a slash after `"$var"' if the variable
1 is empty and the second double-quote is followed by a word that begins
1 and ends with slash:
1
1 $ sh -xc 'p=; echo "$p"/ouch/'
1 p=
1 + echo //ouch/
1 //ouch/
1
1 However, our understanding is that patches are available, so perhaps
1 it's not worth worrying about working around these horrendous bugs.
1