To switch stdout and stderr try this (in bash): program 3>&1 1>&2 2>&3 | less
stderr will be paged thru less, while stdout will be sent to the display. Does any one have a cleaner solution? (I don't like using the temporary file discriptor (3)). Tony Richardson On Monday, July 27, 1998 3:25 PM, beitamos [SMTP:[EMAIL PROTECTED] wrote: > Supose I have a program that output long text to stderr. Can I use the less > command to page in it ? How ? > Can I switch the stdout with the stderr ? > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/null > > -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null