We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
head -n 22 | tail -n 11 is faster than sed because of multi thread by pipe processing. But head-tail is longer code and spending more CPU resource. (head -num and tail -num are deoprecated option in POSIX.)
Middle of a Text File
You are viewing a single comment's thread. Return to all comments →
Sorry for late.
head -n 22 | tail -n 11
is faster than sed because of multi thread by pipe processing. Buthead-tail
is longer code and spending more CPU resource. (head -num
andtail -num
are deoprecated option in POSIX.)Result: