How 'p' works.

G.R.Tomasevich grt at twitch.UUCP
Tue Dec 11 09:34:10 AEST 1984


> >      Today I was looking for some old news articles.  I cd'ed to
> > the appropriate news directory and typed:
> > 
> > 		p `egrep -l pattern *`
> > 
> > 	As it turned out, the pattern wasn't found in any of the
> > articles.

It seems that 'p' must be broken.  I have not seen it but use 'pgr', which
apparently does the same type of paging.  If an empty file is specified
on the command line or piped to it, 'pgr' says 'line 0:' and is ready to exit.
-- 
	George Tomasevich, ihnp4!{twitch|spastic}!grt
	AT&T Bell Laboratories, Holmdel, NJ



More information about the Comp.unix.wizards mailing list