J
jpw
I have a script that creates and XML record and then posts it to a
url. I'd like to be able to build the XML record separately and just
"pass" it to the script. The script needs to be excuted at the shell
prompt. So, I'd like to be able to execute: ./myscript
<path&filename to xml file>.
How, from within, the script to I get the xml file? In other
programming environments, I have used the @sentence command which
provides the script with the entire line it was executed with.
url. I'd like to be able to build the XML record separately and just
"pass" it to the script. The script needs to be excuted at the shell
prompt. So, I'd like to be able to execute: ./myscript
<path&filename to xml file>.
How, from within, the script to I get the xml file? In other
programming environments, I have used the @sentence command which
provides the script with the entire line it was executed with.