Re: How to write file containing shell script?

From: Date: Thu, 28 Mar 2002 07:18:21 +0000
Subject: Re: How to write file containing shell script?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-90486@lists.php.net to get a copy of this message
"Miguel Cruz" <mnc@stoic.net> wrote in message news:Pine.LNX.4.44.0203280113430.12802-100000@stoic.net... > On Thu, 28 Mar 2002, Miguel Cruz wrote: > > Right. I think the "No such file or directory" message is because it's > > failing to find an interpreter called "/bin/bash\r". > > Sorry, I mean "/bin/sh\r". Habit. > > miguel > Thanks miguel, that was the problem. The original PHP file was indeed being saved in TextPad as "PC" thus adding that \r. I resaved it as "Unix" and the shell script runs fine. :) --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/02

« previous php.general (#90486) next »