Commit 6e66bb75 authored by Ian Dennis Miller's avatar Ian Dennis Miller

docs

parent 282b8e23
......@@ -2,8 +2,8 @@
CSV operations with UNIX pipes.
Work on large CSV files without loading the whole file in memory.
CSV UNIX can be used to build pipelines for streaming computations.
CSV UNIX can be used to build pipelines for streaming computations.
Use the UNIX pipe "|" to chain together commands and filters.
The syntax is reminiscent of SQL.
......@@ -19,25 +19,22 @@ csv.install
### Obtain file listing as CSV and display file sizes
`csv ls`
```
bash$ csv ls
-rw-rw-r--,1,idm,idm,3999,Oct,1,02:53,csv-unix.sh
-rw-rw-r--,1,idm,idm,867,Oct,1,02:55,Readme.md
```
`csv ls | csv select 5`
```
bash$ csv ls | csv select 5
3999
867
```
### Calculate average file size
`csv ls | csv select 5 | csv mean`
```
bash$ csv ls | csv select 5 | csv mean
1915.66666667
```
......
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