Help for this page
# command line arguments are available to the script in the # @ARGV array. Thus the first argument is in $ARGV[0], the ... # close the input and output files close(IN); close(OUT);
#!/usr/bin/perl -i.bak -w while (<>) { s/^\n$/\r\n/; print; }