Re: No script output to stdout,stderr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12:09 07 Mar 2005, Brendan Gibson <Brendan.Gibson@xxxxxx> wrote:
| > On 18:51 21 Feb 2005, Brendan Gibson <Brendan.Gibson@xxxxxx> wrote:
| > [...]
| > | $ perl checkout.pl
| > | I am a perl script
| > | 
| > | However running them as
| > | ./shcheckout.sh 
| > | AND
| > | ./checkout.pl
| > | produce no output, but redirecting the output to a file works OK.
| > | Does anyone know what's going on, and how to fix it?
| > 
| > No, I don't know what's going on. It is not normal at all.
| > Do other commands produce output in that shell?
|
| Yes they do.  Only when a shell script is called with #! in the top of an
| external file do I get no output.  I have been able to work around it, but
| still puzzles me.

Could you describe your workaround please? It may give clues.

And please post below the (trimmed) quoted text; it makes the context read
like a conversation, which is desirable because it is a conversation.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Why is it so hard for people to simply leave people alone? But, the answer
comes to me: they are idiots and in a perfect world, I would be permitted to
kill them all.  - Julie Rhodes <jk.rhodes@xxxxxxxxxxx>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux