
file manipulation to get several output file out of 1 file
In article <3A01A229.337B1...@hp.com>, Jae Ellison <jae_elli...@hp.com> wrote:
Except for the fact that he forgot the '$' in $data and $file, what's wrong
with the script that Brian posted above?
If the file can have more than two columns and you only want to write the
2nd column to the new files, change the read to "read file data rest".
$file will contain the 1st column, $data will contain the 2nd column, and
$rest will contain everything else, which you will simply ignore.
--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.