Cleaning flat files using routines
Posted: Fri Nov 05, 2004 8:18 am
I'm trying to clean input files (sequential,fixed length) from special characters. Normally, I would use this command
But I need to be able to parameterize it...therefor cannot use the "execute command" stage.
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!
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!