Use head -n 7', not head -7'.

This commit is contained in:
Jim Meyering 2002-02-16 08:54:52 +00:00
parent ebce0d1dec
commit 76272609c2

View File

@ -27,7 +27,7 @@ fi
fail=0
ls -RL loop 2>err | head -7 > out
ls -RL loop 2>err | head -n 7 > out
# With an inf-looping ls, out will contain these 7 lines:
cat <<EOF > bad
loop: