1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 17:08:20 +02:00

use better sed expressions

This commit is contained in:
Jim Meyering
2003-03-05 07:38:10 +00:00
parent c2c397d96f
commit 82fba3787f
+3 -3
View File
@@ -59,12 +59,12 @@ test -f x/b || fail=1
test -f c || fail=1
# The i-node numbers of a and c must be the same.
ia=`ls -i a|sed 's/ a//'`
ic=`ls -i c|sed 's/ c//'`
ia=`ls -i a|sed 's/ a$//'`
ic=`ls -i c|sed 's/ c$//'`
test $ia = $ic || fail=1
# The i-node number of x/b must be different.
ib=`ls -i x/b|sed 's/ .*//'`
ib=`ls -i x/b|sed 's/ x.b$//'`
test $ia = $ib && fail=1
(exit $fail); exit $fail