SHOW:
|
|
- or go back to the newest paste.
1 | /usr/local/bin/frogturd.sh : | |
2 | ||
3 | #!/bin/bash | |
4 | - | /usr/bin/base64 -d | /usr/bin/lynx -stdin -dump | /usr/bin/perl -ne 's/\[\d\]//g; s/^\s+(\S)/$1/g; s/(.{50,})(\n|\r)/$1/; s/^(\D[^:]{1,10}:)/sprintf "%-12s",$1/e; if (/(Questions:|support\.groundspeak)/) {$foo++}; if(/coord\.info/) {$foo=0}; print "$_" unless (($foo) || ($. < 4))' |
4 | + | /usr/bin/base64 -d | /usr/bin/lynx -stdin -dump | /usr/bin/perl -ne 's/\[\d\]//g; s/^\s+(\S)/$1/g; s/(.{50,}[^:])(\n|\r)/$1 /; s/^(\D[^:]{1,10}:)/sprintf "%-12s",$1/e; if (/(Questions:|support\.groundspeak)/i) {$foo++}; if(/coord\.info/) {$foo=0}; print "$_" unless (($foo) || ($. < 4))' |