Steve Grazzini wrote:
> rmck wrote:
>> But I run this system call and it took allnight to run :(
>
> You were asking perl to rewrite the whole file for every line
> you wanted to change.
>
> #!/usr/bin/perl
> use strict;
> use warnings;# or just use Foo::Monkey :-)
>
>
> Hi
>
> This scripts sucks in a 109mb file and i'm trying to do a
> search and replace on unxtime to the format from strftime.
> Which is working...
>
> But I run this system call and it took allnight to run :(
>
> So I killed it... Any other suggestions to reach my goal.
>
>
Yes
On Jan 22, 2004, at 10:13 AM, rmck wrote:
Hi
Hello.
This scripts sucks in a 109mb file and i'm trying to do a search and
replace on unxtime to the format from strftime. Which is working...
But I run this system call and it took allnight to run :(
So I killed it... Any other suggestions to rea
rmck wrote:
But I run this system call and it took allnight to run :(
You were asking perl to rewrite the whole file for every line
you wanted to change.
#!/usr/bin/perl
use strict;
use warnings;# or just use Foo::Monkey :-)
use POSIX qw(strftime);
die "Usage: $0 FILES\n