diff options
author | Jim Meyering <jim@meyering.net> | 2000-11-13 23:59:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-11-13 23:59:15 +0000 |
commit | a8fab3b2ebcef0a93cef068afe9091c6874c97ce (patch) | |
tree | 8984caf0fea3b5c33187dc1402b30dee39a529cf /tests | |
parent | 2e9fdf49c57a2fde9d1bb2048728b294c3674a26 (diff) | |
download | coreutils-a8fab3b2ebcef0a93cef068afe9091c6874c97ce.tar.xz |
Add an `echo' so that the input to the sed command
is NL-terminated. Otherwise, Solaris' /bin/sed generates no output.
Reported by Vin Shelton.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mkdir/perm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mkdir/perm b/tests/mkdir/perm index 83dc70c42..1556f1ddf 100755 --- a/tests/mkdir/perm +++ b/tests/mkdir/perm @@ -40,7 +40,7 @@ for p in empty -p; do old_IFS=$IFS IFS=':' - set - `echo "$tests"|tr -d '\012'|sed 's/^ *//;s/ *:/:/g;s/: */:/g'` + set - `(echo "$tests"|tr -d '\012'; echo)|sed 's/^ *//;s/ *:/:/g;s/: */:/g'` IFS=$old_IFS while :; do |