Michael Tewner wrote:

> Is there a reason that there isn't a tool that prints one or more lines
> from within a file?
> 
> For years, everyone has been doing this with ` head | tail `
> 
> ...or is there a program that does this already?

seq 1 50 | sed -n 3,25p
sed 1 50 | sed -n 11,+10p   # gnu sed only

Brian


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to