`cat toto.txt | grep 'lorem' -c` => `grep -c 'lorem' toto.txt` `grep -c ^ toto.txt` => `wc -l toto.txt`