3 ms·
I use a lot of Perl and occasionally some awk. My experience is that Perl is a lot faster (it really shows when you have millions of lines of text to chew). Fo
by forinti 7y ago
I use a lot of Perl and occasionally some awk. My experience is that Perl is a lot faster (it really shows when you have millions of lines of text to chew).
For example, I compared two scripts that find the longest line in a file: Perl took about a second when awk took 21s.
- rukuu001 7y agoSame. Also, many tasks grew in complexity until I threw away my awk/sed combos and wrote some Perl instead.