>> gr...@pazuzu ~ $ cat /etc/passwd | sed -n -e '4,10 p' > > > Best solution so far, but useless use of cat, and the subshell overhead of > the pipe. >
Thank you. Nice solutions and they reveal that there is no "belly" like program in coreutils. I find it interesting, that the two bordercases are considered while the general approach (range), that would cover all, is missing. Is that rather for performance or for historical reasons? Al