Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 824 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 824 Bytes

Haskell CSV Muncher

Encode metadata about csv cells by sticking it in the first column as semicolon separated values.

Usage

# Setup
sudo apt install cabal-install # if you haven't already
cabal install parsec tagsoup

# Test
doctest munge.hs

# Run
runhaskell main.sh < ~/path/to/file.csv

Use case

example_screenshot.png

I made my resume in excel for easier programmatic i/o, and I'd like to be able to update my linkedin and website programmatically when I update my spreadsheet. This lets me take data that makes sense in the context of a resume and auto parse it into a context free text file.

So with runhaskell main.sh < ./example/example_input.csv this input becomes this marginally nicer output