Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-grep @ 1539:5e47e42b14ba
use posix compliant option for head
head -N is not posix compliant, head -n N should be used instead
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 13 Nov 2005 16:25:45 +0100 |
parents | ccb6201e3f28 |
children | 81f351c5264d |
comparison
equal
deleted
inserted
replaced
1538:482b4efdf013 | 1539:5e47e42b14ba |
---|---|
12 echo vaportight >> port | 12 echo vaportight >> port |
13 echo 'import/export' >> port | 13 echo 'import/export' >> port |
14 hg commit -m 2 -u spam -d '2 0' | 14 hg commit -m 2 -u spam -d '2 0' |
15 echo 'import/export' >> port | 15 echo 'import/export' >> port |
16 hg commit -m 3 -u eggs -d '3 0' | 16 hg commit -m 3 -u eggs -d '3 0' |
17 head -3 port > port1 | 17 head -n 3 port > port1 |
18 mv port1 port | 18 mv port1 port |
19 hg commit -m 4 -u spam -d '4 0' | 19 hg commit -m 4 -u spam -d '4 0' |
20 hg grep port port | 20 hg grep port port |
21 echo 'FIXME: history is wrong here' | 21 echo 'FIXME: history is wrong here' |
22 hg grep --all -nu port port | 22 hg grep --all -nu port port |