SPUG:Best One-Liners and Scripts for UNIX

Jim Flanagan jimfl at tensegrity.net
Wed Apr 23 19:12:57 CDT 2003


On Wed, 16 Apr 2003, Tim Maher wrote:

      > So please give some thought as to what Perl one-liners or
      > small scripts you value for your UNIX/Linux work, and post
      > them to the list so we can discuss them.

  Dunno if I'm late to this party, but a very handy script for dealing
  with mail messages is:

     perl -MMail::Internet -e 'Mail::Internet->new([<>])->print_body'

  Which, if you cat a mail message through it, pipes out only the
  body.

-- 
::jimfl

    http://jimfl.tensegrity.net
  mailto:jimfl%40t%65ns%65gr%69ty.n%65t




More information about the spug-list mailing list