Text Processing

Perl One Liners

Tagged:  •    •    •    •  

Command line Perl scripts for various purposes, such as HTML processing. Many of the examples work on STDIN.

textstat.pl

Tagged:  •    •    •    •    •    •  

Compute text statistics for text or HTML files and print the information to STDOUT. You can specify the locale setting (using the standard POSIX module) to make sure that special characters of your language (e.g. ä, ö, ü) are matched by \w.

srep.pl

Tagged:  •    •    •    •    •    •    •  

Search and replace text recursively

Syndicate content