top | item 31304162

(no title)

vukgr | 3 years 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.

discuss

order