in reply to backticks command just waits

Just a guess, but something is waiting for end-of-input which may be supplied by the Enter key from the prompt. I don't know if it will work or not, but you might try appending a chr 10 or a chr 4 to your command. E.g.,

$mailstr .= chr 4;
If the code and the comments disagree, then both are probably wrong. -- Norm Schryer

Replies are listed 'Best First'.
Re: Re: backticks command just waits
by troll314 (Initiate) on Aug 27, 2001 at 00:41 UTC
    thought about that too. i haven't tried it either but yeah it could work. I got it working now anyway. Just pulled out the sed call. It was there cos I was converting a bash script.