[TUHS] pre-more pager?

Will Senn will.senn at gmail.com
Fri Nov 10 00:29:24 AEST 2017


It's amazing how often I think - I need to spend more time on sed. I am 
also just now beginning to understand that it's a stream ed-itor and 
therefore intimately related to ed, which isn't a half editor.

Will

On 11/9/17 7:18 AM, Dan Cross wrote:
> Head is easy to emulate: sed 10q
>
> On Nov 9, 2017 12:18 AM, "Will Senn" <will.senn at gmail.com 
> <mailto:will.senn at gmail.com>> wrote:
>
>     On 11/8/17 5:21 PM, Dave Horsfall wrote:
>
>         On Wed, 8 Nov 2017, Arthur Krewat wrote:
>
>             head -20 < filename
>
>
>         Or if you really want to confuse the newbies:
>
>             < filename head -20
>
>     too bad head doesn't exist on v7. I did have to look up the
>     incantation in Intro to the Shell by Bourne, that's fascinating
>     stuff and it still works on my mac - nuts!
>
>     -- 
>     GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF
>

-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171109/89693fba/attachment-0001.html>


More information about the TUHS mailing list