|
|
|
|
|
by vukgr
1501 days ago
|
|
I'm pretty sure sed ${N}q is supposed to chose the N (or k) top choices, where N is given as an argument/variable.
(Going off of the fact that head is essentially sed 11q, where it quits on the 11th line.) But yeah, head -n (--lines) would do the job here perfectly while being more readable, no clue why it wasn't used. |
|