Adjust to taste.for f in *; do (echo '#!/usr/bin/perl'; echo 'use strict;'; echo 'use warnings;'; + (tail +2 $f | grep -v 'use strict' | grep -v 'use warnings')) > $f.$ +$; mv $f.$$ $f; chmod +x $f; done
In reply to Re: Some automation on Perlscripts?
by JavaFan
in thread Some automation on Perlscripts?
by matze77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |