[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] How I do in a Mac



Hi

I am a beginner in Macperl, have a script like this

#!/usr/local/perl
while (<>) {
s/old/new/g;
print;
}

On Unix i write at the prompt
script oldfile > newfile
it is easy, but how I do in Macperl
what I need to change in the script?

ciao
\Claes

<><><><><><><><><><><><><><><><><><><><><><><><><><><>
Claes Bjorklund                 |\      _,,,---,,_
claes@canit.se            ZZZzz /,`.-'`'    -.  ;-;;,_
http://www.canit.se/~claes     |,4-  ) )-,_. ,\ (  `'-'
Sturegatan 20B                '---''(_/--'  `-'\_)
752 23 Uppsala



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch