This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to do "xxx | more" using less or cat ?

> How to do "xxx | more" using less or cat ?

xxx | less

Or maybe I misunderstand the question.
If the messages are on standard error, you need
to redirect that to standard output - a pipe
connects output to input, and leaves error alone.

Standard error sits on file descriptor 2, and
standard output sits on file descriptor 1. So,
to do the redirection, you want something looking
like this:

xxx 2>&1 | less

I don't know if that's what you want, but it's
the answer to your question. :)

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]