head: split POSIX, BSD and GNU (#9818)
This commit is contained in:
@@ -5,16 +5,4 @@
|
||||
|
||||
- Output the first few lines of a file:
|
||||
|
||||
`head --lines {{count}} {{path/to/file}}`
|
||||
|
||||
- Output the first few bytes of a file:
|
||||
|
||||
`head --bytes {{count}} {{path/to/file}}`
|
||||
|
||||
- Output everything but the last few lines of a file:
|
||||
|
||||
`head --lines -{{count}} {{path/to/file}}`
|
||||
|
||||
- Output everything but the last few bytes of a file:
|
||||
|
||||
`head --bytes -{{count}} {{path/to/file}}`
|
||||
`head -n {{count}} {{path/to/file}}`
|
||||
|
Reference in New Issue
Block a user