use ; at the end of print
$sysnew = `echo $system | awk -F. '{ print; $1 }'` ;
-Murugesan
- Original Message -
From: "Sethi, Samir (IDS DM&DS)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 11, 2003 12:31 AM
Subject: [PHP] She
Anyone had a chance to look at this. Been trying different combinations, doesn't appear
To work.
Thanks.
-Original Message-
From: Sethi, Samir (IDS DM&DS) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 1:07 PM
To: '[EMAIL PROTECTED]'
Subject: [
Another shell question -
$system is set to eq-cca-u1.etsd.ml.com ,
Running the commands below should give sysnew as eq-cca-u1 , stripping out the
etsd.ml.com.
$sysnew = `echo $system | awk -F. '{ print $1 }'` ;
echo "sysnew = $sysnew " ;
However the echo statement returns sysnew as eq-cca-u1
[snip]
I know that it's pretty easy for a shell script to call a php page to do
something.
What's the best way to have a php page call a shell script?
I'm trying to automate the creation of directories with certain files in
them (people creating their own temporary websites..), and figured a sim
I know that it's pretty easy for a shell script to call a php page to do something.
What's the best way to have a php page call a shell script?
I'm trying to automate the creation of directories with certain files in them (people
creating their own temporary websites..), and figured a simple sh
5 matches
Mail list logo