Skip to content

a command-line tool to retrieve specific requested fields from a csv file (specially tab delimited files) that is very similar to the unix 'cut' program

Notifications You must be signed in to change notification settings

sicotronic/my_cut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This small program is my own version of the 'cut' unix program, but it is meant to work with csv files, specially with tab-delimited files.
The program is written in the file 'my_cut.py'. Instructions for the usage are giving when '-h' or '--help' are given in the arguments.

There are two input files to test the program called test_input1 and test_input2.
The output files are the results of the following executions:

my_cut.py test_input1.csv 0-3,15/9,8:12,5,6,7 output1.csv

my_cut.py test_input2.csv 0-3,4-1,2,0 output2.csv

About

a command-line tool to retrieve specific requested fields from a csv file (specially tab delimited files) that is very similar to the unix 'cut' program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages