Need to pass an argument from a ksh script to a Perl script. Why? I need to filter out four fields from a multi-field file so the user isn't overly confused and I can't figure out how to do it in the shell without dropping into Perl. FYI, file is pipe-delimited with 12 fields ([0] thru [11]).
If there's a way to do this kind of thing in .ksh I'm unable to find any reference to it as that would obviously be preferable.
If this has to be done in Perl, how do I call a Perl script from the .ksh script and pass the value I need to pass?
Thanks again in advance.
Tom
If there's a way to do this kind of thing in .ksh I'm unable to find any reference to it as that would obviously be preferable.
If this has to be done in Perl, how do I call a Perl script from the .ksh script and pass the value I need to pass?
Thanks again in advance.
Tom