what Perl function can I used to invoke something usually done at the
command line?
I want to execute:

sum * > SNP/020405/foo.txt

this will call checksum on everything and output to foo.txt in /SNP/020405.
Problem is, the * will sum all files in the current directory, not those in
SNP/020405. So then I'd instead use:

sum SNP/020405/* > SNP/020405/foo.txt

but the problem with this is the foo.txt will look like:

5134 1 SNP/020405/17D78401.001

instead of the much "cleaner":

5134 1 17D78401.001

I basically need to change directories to 020405 (chdir will do this ok),
and then call sum * and output the results to a file which should also be
located in 020405 (How do I do this part?). Thanks in advance for all help.


-Jose


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to