[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
problem with more and scripts
- From: "Roel Lascano" <roellascano gmail com>
- To: fedora-list redhat com
- Subject: problem with more and scripts
- Date: Thu, 12 Oct 2006 12:53:57 -0400
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?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]