Code: Select all
perl -pe 's/[\x00-\x09\x0B-\x1F]/ /g' < input > output
I'm looking for some info on routines...cannot find a way to execute a command from the routines.
Any pointers on where I could find this info?
Thanks!
Moderators: chulett, rschirm, roy
Code: Select all
perl -pe 's/[\x00-\x09\x0B-\x1F]/ /g' < input > output
Code: Select all
* Call routine like #InFileParam#-#OutFileParam#
InFileName = field(Arg1, '-', 1)
OutFileName = field(Arg1, '-', 2)
Cmd = 'SH -c "':"perl -pe 's/[\x00-\x09\x0B-\x1F]/ /g' < input > output":'"'
execute Cmd capturing output returning RtnCode
ErrorCode = RtnCode