Re: No redirection output
- From: Bill Marcum <bmarcum@xxxxxxxxx>
- Date: Sun, 19 Mar 2006 10:13:29 -0500
On 19 Mar 2006 05:03:14 -0800, choitau@xxxxxxxxxxxx
<choitau@xxxxxxxxxxxx> wrote:
Hi,If you remove the redirection from your script, it should produce output
I have written a sh script to run a program and redirect the output to
some files.
myprog 10000 123 1 1 50 50 50 50 5 > 10000_2_5.txt
myprog 10000 123 1 1 20 20 20 20 5 > 10000_5_5.txt
myprog 10000 123 1 1 10 10 10 10 5 > 10000_10_5.txt
However, if i try to run the sh script, the program can run
successfully but no output files can be generated.
on your screen. Did you write your script on a Windows machine? If so,
it might create files named like "10000_2_5.txt\r", which might not be
seen in "ls" or "ls *.txt". Otherwise, I see no reason that this should
work from the command prompt and not from a script. Is myprog in a
directory in your PATH? Does myprog put itself in the background, so
the script results in two or three processes running at the same time?
--
If you would understand your own age, read the works of fiction produced
in it. People in disguise speak freely.
.
- Follow-Ups:
- Re: No redirection output
- From: Sascha Wuestemann
- Re: No redirection output
- References:
- No redirection output
- From: choitau
- No redirection output
- Prev by Date: Re: problems with sed! help please! it's urgent!
- Next by Date: Re: No redirection output
- Previous by thread: No redirection output
- Next by thread: Re: No redirection output
- Index(es):
Relevant Pages
|