Re: Bug#363250: general: Custom PAGER gives error on sid, but works on sarge
On 19 Apr 2006, Steve Langasek uttered the following:
> On Wed, Apr 19, 2006 at 09:12:04AM -0500, Manoj Srivastava wrote:
>>> which explicitely calls sh -c to handle pipes and quotes in the
>>> expected way.
>> I expect to be able to pipe stuff to $PAGER, or invoke $PAGER
>> on a text file, like so:
>> % cat ~/.bash_profile | $PAGER
>> % $PAGER ~/.bash_profile
> That seems to be an awfully user-specific expectation, given that
> you can't assume that PAGER is set *at all* by default.
Err, if the PAGER is empty, default it to "more". What does
that have to do with the price of tea in china?
If I, as a user, set PAGER such that it meets the above
expectations, I expect other programs to work with my setting. I do
not expect other programs on my system to have more stringent
requirements than the ones given above.
Having PAGER set to a value that can have stuff piped to it,
to can be invoked on files, seems a reasonable requirement.
Long life is in store for you.
Manoj Srivastava <email@example.com> <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C