Commit 8133f90f authored by Ian Dennis Miller's avatar Ian Dennis Miller

docs

parent 8f1aba06
......@@ -40,6 +40,31 @@ bash$ csv ls | csv select 5 | csv mean
1915.66666667
```
### Limit results to 5
```
bash$ csv ls / | csv limit 5
drwxr-xr-x,2,root,root,4096,Sep,12,06:40,bin
drwxr-xr-x,4,root,root,4096,Sep,13,06:35,boot
drwxr-xr-x,20,root,root,4060,Sep,25,19:56,dev
drwxr-xr-x,130,root,root,12288,Sep,30,13:26,etc
drwxr-xr-x,5,root,root,4096,Aug,7,20:53,home
```
### Write CSV to file
```
bash$ csv ls / > /tmp/listing.csv
```
### Read CSV rom a file
```
bash$ csv read /tmp/listing.csv | csv limit 2
drwxr-xr-x,2,root,root,4096,Sep,12,06:40,bin
drwxr-xr-x,4,root,root,4096,Sep,13,06:35,boot
```
## Commands
- read [file]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment