From: JOSEPH KREMBLAS (jkremblas@REDHEARTGIFTS.COM)
Date: Tue Feb 10 2004 - 11:55:11 EST
There are a few ways you can execute it. Here are a couple:
eval $COMMAND
OR echo $COMMAND | ksh
Best regards,
Joseph
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
John Dunn
Sent: Tuesday, February 10, 2004 7:36 AM
To: aix-l@Princeton.EDU
Subject: script question
If my script is being passed a command such as
echo hello >/tmp/testecho
How do I execute it in the script?
e.g
COMMAND=$*
# now I want to execute it
????
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:34 EDT