From 62528b9cf861b8afe3afb23b5f2058080941e0b1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 4 Apr 1999 16:00:50 +0000 Subject: Change the sed command used to extract the filename from ls -l output, to accommodate the change in format. --- tests/cp/same-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cp/same-file') diff --git a/tests/cp/same-file b/tests/cp/same-file index 305507b08..37a174cab 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. -- cgit v1.2.3-54-g00ecf