2 # Ian Beckwith <ianb@erislabs.net>
7 $me=($0=~/(?:.*\/)?(.*)/)[0];
15 if(/^-/ && !$doneargs)
17 if (/-v/) { $verbose=1; }
18 elsif(/-q/) { $verbose=0; }
19 elsif(/--/) { $doneargs=1; }
20 elsif(/-h/) { usage(); }
28 unless($donesomething)
36 die("Usage: $me [-v] [-q] [-h] [--] file...\n".
38 " -q\tQuiet (default)\n".
40 " --\tEnd of options\n");
52 B<> [I<-v>] [I<-q>] [I<-h>] [I<file>...]
62 Enable verbose operation.
66 Quiet (no output). This is the default.
70 Show a short help message.
86 None known. Please report any found to ianb@erislabs.net
92 Ian Beckwith <ianb@erislabs.net>
96 The latest version can be found at:
98 B<http://erislabs.net/ianb/projects//>
102 Copyright 2008 Ian Beckwith <ianb@erislabs.net>
104 This program is free software; you can redistribute it and/or modify
105 it under the terms of the GNU General Public License as published by
106 the Free Software Foundation; either version 2 of the License, or (at
107 your option) any later version.
109 This program is distributed in the hope that it will be useful, but
110 WITHOUT ANY WARRANTY; without even the implied warranty of
111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
112 General Public License for more details.
114 You should have received a copy of the GNU General Public License
115 along with this program; if not, write to the Free Software
116 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.