From: Jim Meyering Date: Sun, 4 Apr 1999 16:00:50 +0000 (+0000) Subject: Change the sed command used to extract the X-Git-Tag: FILEUTILS-4_0e~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62528b9cf861b8afe3afb23b5f2058080941e0b1;p=thirdparty%2Fcoreutils.git Change the sed command used to extract the filename from ls -l output, to accommodate the change in format. --- diff --git a/tests/cp/same-file b/tests/cp/same-file index 305507b083..37a174cab0 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -57,7 +57,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do ls="`ls -lG --ignore=.err . \ | sed \ -e '/^total /d' \ - -e 's/^..............................................//'`" + -e 's/^...............................................//'`" echo "($ls)" # Make sure the original is unchanged and that # the destination is a copy.