Learning Objectives
Topics covered
Perl is a programming language that used to be very popular with system administrators. It predates Python. It has some very powerful regular expression abilities allowing you to easily do things on the commandline that woul otherwise thake many hours. Here ar some useful perl one line commands.
$ perl -lpe 's/\s*$//' FILENAME
$ perl -i -p -e "s/’/'/g;" *.md
^M
from file$ perl -p -i -e 's/\r\n$/\n/g'