On 23 Apr 2006, Miles Bader spake thusly: > Manoj Srivastava <[EMAIL PROTECTED]> writes: >> I read it. I still think that my answer suffices: Put your >> pipeline in a script, and set that to PAGER. > > Your answer doesn't "suffice," because it's not what people expect > -- PAGER has historically (for a _long_ time) supported arguments > being specified
Nothing in what I said preclues specifying arguments. __> echo $PAGER less -ciM None of this applies to pipelines, which must either have a file name, or - for stdin. Arguments are a different beastie for general pipelines. > (and I guess in practice it was usually used an argument to popen), > so that's what users have come to expect, and what other > distros/OSes support in the vast majority of cases. Irrelevant to the current discussion. > Changing it now would be very unfriendly to users, and morever there > seems to be little or no benefit to doing so (really, what exactly > would you gain?). Please go back, and re-read what I have said: _> cat somefile.txt | less -ciM _> less -ciM somefile.txt Both work, but: _> cat somefile.txt | fileterA | filterB - may work, _> fileterA | filterB - somefile.txt does not. manoj -- Hedonist for hire... no job too easy! Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]