[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New tool for textutils
From: |
Antonio Diaz |
Subject: |
New tool for textutils |
Date: |
Sun, 30 Mar 2003 17:22:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021130 |
Recently i needed a tool for removing from a text file the lines longer
or shorter than certain limits, and i couldn't find one in the textutils
package.
So i have written a program named "sieve" to do that.
The output of "sieve --help" is:
------------------ BEGIN OF OUTPUT -------------------
Usage: sieve [options] [file]
remove lines of given length from file or standard input,
writing to standard output.
Options:
-h, --help display this help and exit
-V, --version output version information and exit
-M, --max-length=<n> remove lines longer than <n>
-m, --min-length=<n> remove lines shorter than <n>
-o <file> place the output into <file>
Report bugs to <address@hidden>.
------------------ END OF OUTPUT -------------------
If you think this program is useful enough to include in the coreutils
package, please tell me. I'll send you the code, give copyright to the
FSF, change the name of the program if necessary, etc.
Regards.
Antonio Diaz.
- New tool for textutils,
Antonio Diaz <=