Commit 8f23e187 authored by Ian Dennis Miller's avatar Ian Dennis Miller

todo list, stub makefile

parent c460b355
# csv pipes
install:
@echo "Done"
.PHONY: install
# Todo
- installation procedure
- test harness
- examples in documentation
- fix tab completion for files in different directories
- csv.header for inserting column headers
- csv.merge to combine csv files without repeating headers
- csv.ls uses csv.header to name columns
- slideshow presentation
- record video of presentation
- announce to several communities
# UNIX CSV Functions (csv-unix)
# CSV Pipes Functions (csv-pipes)
# Ian Dennis Miller
# Perform streaming operations with CSV files.
# When files are too large to fit into memory, streaming might be the only alternative.
PROFILE="$HOME/.profile"
CSV_SRC="$HOME/.csv-unix.sh"
CSV_URL='https://projects.sisrlab.com/idm/csv-unix/raw/master/csv-unix.sh'
CSV_SRC="$HOME/.csv-pipes.sh"
CSV_URL='https://projects.sisrlab.com/idm/csv-pipes/raw/master/csv-pipes.sh'
# collapse fields containing newlines
csv.collapse() {
......@@ -73,7 +73,7 @@ csv.update() {
# make installation permanent
csv.install() {
csv.update
if [[ -z `grep csv-unix.sh $PROFILE` ]];
if [[ -z `grep csv-pipes.sh $PROFILE` ]];
then echo "source $CSV_SRC" >> $PROFILE;
fi
}
......@@ -139,7 +139,7 @@ csv [command] [options]
Available commands:
EOF
_csv_commands
echo "\nhttps://projects.sisrlab.com/idm/csv-unix"
echo "\nhttps://projects.sisrlab.com/idm/csv-pipes"
}
_csv_completion()
......
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