problem with more and scripts

Roel Lascano roellascano at gmail.com
Thu Oct 12 16:53:57 UTC 2006


I'm running FC5, and I've got an odd problem with a bash script I've got.
The problem can be summarized fairly easily with a two line script:

#!/bin/bash
/bin/more /etc/profile 2> /tmp/errorlog

When I do this the first full screen gets printed, then more quits.  This is
a trivial example, but the script does several things and captures stderr to
a logfile; under ksh the script works fine... under bash it doesn't.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20061012/ba8df843/attachment-0002.html 


More information about the users mailing list