python version of rcut
Project description
rcut
Install
pip3 install rcut
Usage
usage is pretty much the same as cut, and the only currently supported flags are -d and -f (as well as the new -n)
example usage:
rcut -d , -f 1 test.csv
getting the field/column number of each field (useful for finding the field number of data in files with many columns)
It will be displayed next to the field like [1]fieldone [2]fieldtwo [3]abc
rcut -d, -n test.csv
multiple fields (output default sep'd by space)
rcut -d , -f 1,2,3 test.csv
using a string as delim
rcut -d "----" -f 2 something.txt
it also reads stdin when you don't give it a file
cat /etc/passwd | rcut -d : -f 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rcut-0.0.1.tar.gz.
File metadata
- Download URL: rcut-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd4a2b445e113f69f0c45440a0bede87850b9ca5a45e7d09be3148815847209d
|
|
| MD5 |
5bb73e4e29e021430790f983950710a0
|
|
| BLAKE2b-256 |
dad7c65cb18aa3a3d0911cbf6616bf5c68b5995cab9e4552b6782a4eeeaa1c59
|
File details
Details for the file rcut-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rcut-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf65bddc6cb671ec77b22c443836123934867277a634b900281e9d8833a312e6
|
|
| MD5 |
58b7dbf128912864ac3b182e677d1208
|
|
| BLAKE2b-256 |
2f0b4bd8a098183aa3272eac51565ed5c12f733246e3b615eed437ad746806d6
|