Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Thursday, November 22, 2012

Perl one-liners

Reverse order of lines:

pclip | perl -ne "chop; unshift (@a,$_); END { print join(qq/\n/,@a)}"

Followers

Blog Archive