From: Jim Meyering Date: Mon, 13 Nov 2000 23:59:15 +0000 (+0000) Subject: Add an `echo' so that the input to the sed command X-Git-Tag: FILEUTILS-4_0_33~119 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a8fab3b2ebcef0a93cef068afe9091c6874c97ce;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/mkdir/perm b/tests/mkdir/perm index 83dc70c420..1556f1ddfd 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