Use of Execute command tool
Posted: Mon Aug 25, 2014 6:34 pm
Hi,
Sorry for my English, I'll try to be understandable.
I try to use the tool "Execute command" in order to edit text in xml file.
I must substitute "&" with "&" (Sometimes I have this character in a comment field and the XML Pickup tool does not recognize the structure of the xml)
Settings of Execute command (in french sorry) :
Commande ou chemin d'accès : /Application/Utilities/Terminal.app
Arguments : sed "s/&/&/g" %1 >> %2
Sortie : Fichier au chemin d'accès
Copier travail d'entrée : Oui
Extension de sortie : XML (*.xml)
when I made this command on a local file, it works fine, but it does not work with Switch.
I'm not sure of my use of %1 and %2.
The resulting file must have exactly the same name as the input file.
If someone has already encountered this problem or if someone explain to me some different settings on this tool.
Thank you for your help
FX
Sorry for my English, I'll try to be understandable.
I try to use the tool "Execute command" in order to edit text in xml file.
I must substitute "&" with "&" (Sometimes I have this character in a comment field and the XML Pickup tool does not recognize the structure of the xml)
Settings of Execute command (in french sorry) :
Commande ou chemin d'accès : /Application/Utilities/Terminal.app
Arguments : sed "s/&/&/g" %1 >> %2
Sortie : Fichier au chemin d'accès
Copier travail d'entrée : Oui
Extension de sortie : XML (*.xml)
when I made this command on a local file, it works fine, but it does not work with Switch.
I'm not sure of my use of %1 and %2.
The resulting file must have exactly the same name as the input file.
If someone has already encountered this problem or if someone explain to me some different settings on this tool.
Thank you for your help
FX