From a8fab3b2ebcef0a93cef068afe9091c6874c97ce Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Nov 2000 23:59:15 +0000 Subject: 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. --- tests/mkdir/perm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mkdir/perm') 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 -- cgit v1.2.3-54-g00ecf