Bug#830983: ITP: field -- extracts a list of fields from a file
Package: wnpp
Severity: wishlist
Owner: Trevor Bramwell <trevor@bramwell.net>
* Package name : field
Version : 0.2.0
Upstream Author : Trevor Bramwell <trevor@bramwell.net>
* URL : https://github.com/bramwelt/field
* License : GPLv3+
Programming Lang: Python
Description : extract a list of fields from a file
field it is a simpler version of:
awk '{ print $5,$3,$1; }'
and similar scripts. Field defaults to spliting lines, read from stdin
and written to stdout, on whitespace (space and tab).
The benefits it provides over the above awk pattern and cut are:
- Out of order printing
field 3 2 3 1 < file
- Ranges
field 5-1 < file
- Repetition
field 2 2 2 2 < file
I am the sole creator of field and expect to maintain the package when
new bugs are found. The first build of the package can be found on my
website[1] and as this is my first Debian package I would appreciate a
sponsor.
[1] https://trevor.bramwell.net/downloads/field_0.2.0-1_amd64.deb
Reply to: