Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghurtchu/cut

:scissors: :page_facing_up: :knife: unix cut clone
https://github.com/ghurtchu/cut

cut functional-programming scala unix

Last synced: 5 days ago
JSON representation

:scissors: :page_facing_up: :knife: unix cut clone

Awesome Lists containing this project

README

        

### Build your own cut

https://codingchallenges.substack.com/p/coding-challenge-4

Setting up and testing:

- run: `cd ~`
- clone the repo
- run: `cd cut`

run the following commands for testing:
- `./cut -f2 sample.tsv`
- `./cut -f1,2,3 fourchords.csv`
- `./cut -f1,2,3 -d, fourchords.csv | head -n5`
- `./cut -f1,2 sample.tsv`
- `./cut -f1,2,3 sample.tsv | uniq | ./wc -l`
- `./cut -f1,2,3 -d, fourchords.csv | uniq | ./wc -l`

Example screenshot on my own machine:

![My Image](example.png)