1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-31 23:06:33 +02:00

*** empty log message ***

This commit is contained in:
Jim Meyering
1998-06-27 22:10:02 +00:00
parent 6ae99a4290
commit cf430d3590
+6 -3
View File
@@ -44,8 +44,12 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
# and put brackets around the output.
test -s .err && echo "[`sed 's/^[^:][^:]*:/cp:/' .err`]"
# Strip off all but the file names.
ls="`ls -lG * \
| sed 's/^..............................................//'`"
exclude=`echo " .err"|sed 's/ / --ignore=/g'`
ls="`ls -lG $exclude . \
| sed \
-e '/^total /d' \
-e 's/^..............................................//' \
`"
echo "($ls)"
# Make sure the original is unchanged and that
# the destination is a copy.
@@ -156,4 +160,3 @@ cat <<\EOF > $expected
EOF
cmp $expected $actual || diff -u $expected $actual 1>&2
cat $actual 1>&2