[sllug-members]: stderr + less

Steve Dibb steve at wonkabar.org
Thu May 4 13:37:24 MDT 2006


Jason Holt wrote:

>
> On Thu, 4 May 2006, Knight Walker wrote:
>
>> On Thu, 2006-05-04 at 12:44 -0600, Steve Dibb wrote:
>>
>>> Is there a way to pipe stuff put out through stderr to less?
>>
>
> First google hit for "stderr pipe":
>
> http://www.teaser.fr/~amajorel/stderr/
>
>                         -J 

Thanks J, that did it.

That second example was just what I needed.  foo 2>&1 | less

I knew it was some combination of using 2 and 1 but I totally forgot 
about using &.

Now then, I wonder how hard it would be to fix some of these small 
programs and send a patch back so that they work correctly.

And why isn't there a standard -h / --help stdout output in shell programs?

Thanks

Steve


More information about the sllug-members mailing list