Last active
August 29, 2015 14:19
-
-
Save mishin/a955752a26e3c6baa3b6 to your computer and use it in GitHub Desktop.
it's only for show
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is my perl tips collection: | |
http://grep.cpan.me/?q=author%3A%28MIYAGAWA%7CDCONWAY%7CBDFOY%7CSZABGAB%29+shift | |
author:(MIYAGAWA|DCONWAY|BDFOY|SZABGAB) shift | |
http://eax.me/perl5-oop/ | |
http://grep.cpan.me/?q=author%3A%28MIYAGAWA%7CDCONWAY%7CBDFOY%29+__DATA__ | |
author:(MIYAGAWA|DCONWAY|BDFOY) __DATA__ | |
→ milla-tutorial$ sp_ch () {(cat $1|aspell --lang=ru-yo list|aspell --lang=en list); };sp_ch lib/POD2/RU/perlretut.pod | |
{ (cat $1|aspell --lang=ru-yo list|aspell --lang=en list); } | |
sp_ch () {(cat $1|aspell --lang=ru-yo list|aspell --lang=en list); };sp_ch lib/POD2/RU/perlretut.pod | |
perl -M"File::Slurp qw(edit_file)" -e "edit_file { s/=item (\d+)/=item C<$1>/g } 'lib/POD2/RU/perlretut.pod' " | |
perl -pi.bak -e 's/=item (\d+)/=item C<$1>/g' lib/POD2/RU/perlretut.pod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment