6 ms·
The point is that "head" on your system is not the same as "sed 10q". There are two different codebases. By default head shows the first 10 lines but you can ch
by sp332 15y ago
The point is that "head" on your system is not the same as "sed 10q". There are two different codebases. By default head shows the first 10 lines but you can change it with flags etc. Well why bother when you already have sed to do that?
head -n 5 sed 5q
For most cases, head is not a shortcut. 10 is just a special case.
- DeepDuh 15y agoI agree with that change. I don't with many others.