HomePhabricator

Proper getopt + head/tail options in decoupe.pl

Authored by Darkdadaah.

Description

Proper getopt + head/tail options in decoupe.pl

  • Use getopt and a clean sub
  • add option to keep the first line in every file (-H)
  • add option to keep the last line in every file (-T)

Change-Id: I0f59e528799d18ed722226eab931b8aa31d1cccc

Details

Committed
DarkdadaahNov 22 2013, 4:51 PM
Parents
rGWAN150144a2fed3: Rewrite to use the new iterator.
Branches
Unknown
Tags
Unknown
References
refs/changes/22/96222/2
ChangeId
I0f59e528799d18ed722226eab931b8aa31d1cccc