[lug] linux/tcsh question
Riggs, Rob
RRiggs at doubleclick.net
Mon Apr 1 17:25:28 MST 2002
Have you tried "echo foo > output" to see if it's really the shell and not
gated_LS's interaction with the shell that is the problem? (And my guess is
>& is the one you want here.) Or tried bash?
Some applications get unhappy when stdin, stdout or stderr is not a TTY.
-Rob
-----Original Message-----
From: Keith Herold [mailto:Herold at Colorado.EDU]
Sent: Monday, April 01, 2002 5:13 PM
To: lug at lug.boulder.co.us
Subject: [lug] linux/tcsh question
this should win the lame question of the year award, but...
I can't redirect input in tcsh. I have some code and it compiles fine and
prints messages to the terminal. But when I try to redirect it to a file,
nothing is written to the file (and I think the program may just hang). I
have tried:
./gated_LS A > output
./gated_LS A >& output
./gated_LS A > output & (I know, this one puts it in the background)
as well as wrapping the redirection is a variety of ways (using parentheses,
quotes, you name it).
System is RH 7.x., tcsh-6.10
Please enlighten. Thanks ahead of time.
--Keith
*---------------------------------------*
CELL: 303-817-9686
HOME: 303-494-4647
EMAIL: Keith.Herold at colorado.edu
URL: http://ucsu.colorado.edu/~herold
Dept. of Linguistics and
http://www.colorado.edu/ling
The Center for Spoken Language Research
http://cslr.colorado.edu
University of Colorado, Boulder
Boulder, CO 80302-0594
USA
*---------------------------------------*
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list