M
Mike
Ok. . . Well, I'm sure here comes another dumb question. I'm fairly
handy with unix and unix scripting, however, I'm terrible at perl.
What I'm looking to do with a perl script is the equivalent of the
following unix (bash) script:
cat tempfile1 | sort > newfile2; rm tempfile1
I'm not completely comfortable with file handling in perl, and I think
it should be easy to do, but I've been unsuccessful in trying to do it.
I'm essentially trying to sort the lines in a file (alphabetically),
and then output them to another file.
Thanks
Mike
handy with unix and unix scripting, however, I'm terrible at perl.
What I'm looking to do with a perl script is the equivalent of the
following unix (bash) script:
cat tempfile1 | sort > newfile2; rm tempfile1
I'm not completely comfortable with file handling in perl, and I think
it should be easy to do, but I've been unsuccessful in trying to do it.
I'm essentially trying to sort the lines in a file (alphabetically),
and then output them to another file.
Thanks
Mike