mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
Head args are supposed to be in bytes rather than KB
commit 32490f087fce93beadae3c59b10c1b8200734106 Author: Parth Mehrotra <parth.mehrotra.cs@gmail.com> Date: Sun Jan 3 23:09:09 2016 -0500 replaced spaces with underscores commit 51c680741e497aa891848e2008f55e5c316c18f0 Author: Parth Mehrotra <parth.mehrotra.cs@gmail.com> Date: Sat Jan 2 22:23:37 2016 -0500 head args are supposed to be in bytes, rather thank KB commit 52e1aefe5bdcf05084222ec2c184bdd5ff96cc8e Author: Parth Mehrotra <parth.mehrotra.cs@gmail.com> Date: Sat Jan 2 13:31:56 2016 -0500 head args aren't in bytes
This commit is contained in:
parent
61fb7a6f89
commit
17a6fb99b3
2 changed files with 6 additions and 6 deletions
|
@ -4,16 +4,16 @@
|
|||
|
||||
- Output the first few lines of a file
|
||||
|
||||
`head -n {{count of lines}} {{filename}}`
|
||||
`head -n {{count_of_lines}} {{filename}}`
|
||||
|
||||
- Output the first few bytes of a file
|
||||
|
||||
`head -c {{size in kilobytes}} {{filename}}`
|
||||
`head -c {{size_in_bytes}} {{filename}}`
|
||||
|
||||
- Output everything but the last few lines of a file
|
||||
|
||||
`head -n -{{count of lines}} {{filename}}`
|
||||
`head -n -{{count_of_lines}} {{filename}}`
|
||||
|
||||
- Output everything but the last few bytes of a file
|
||||
|
||||
`head -c -{{size in kilobytes}} {{filename}}`
|
||||
`head -c -{{size_in_bytes}} {{filename}}`
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
- Output the first few lines of a file
|
||||
|
||||
`head -n {{count of lines}} {{filename}}`
|
||||
`head -n {{count_of_lines}} {{filename}}`
|
||||
|
||||
- Output the first few bytes of a file
|
||||
|
||||
`head -c {{number in kilobytes}} {{filename}}`
|
||||
`head -c {{number_in_bytes}} {{filename}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue