bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "line" utility


From: Brian Dessent
Subject: Re: "line" utility
Date: Mon, 11 Jul 2005 21:20:21 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]