From 8b32e1089e60e8fa26dea8395ce9aa6a36931d96 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Jan 2003 12:38:38 +0000 Subject: Add comment, and remove now-unnecessary -l option. --- tests/cp/same-file | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/cp/same-file b/tests/cp/same-file index b42707cb0..3d6aa95f6 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -70,7 +70,8 @@ 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 -lgG --ignore=_err . \ + # Omit the variable-width owner and group names. + ls="`ls -gG --ignore=_err . \ | sed \ -e '/^total /d' \ -e 's/^......................................//'`" -- cgit v1.2.3-70-g09d2