Skip to content

Instantly share code, notes, and snippets.

This is working much better and I understand what I was doing wrong. 'bash -x' outputs the following, which seems like it's not getting the 'wc -l' part correct. Is the whitespace in front of '92' and '91' messing things up as well?
+ for f in '*.csv'
++ csvgrep -n file4col.csv
++ wc -l
+ [[ 92 == 91 ]]
+ cat -- /Users/xlsxtocsv/svcheader.txt file4col.csv
+ for f in '*.csv'
++ csvgrep -n file3col.csv
++ wc -l
@jamierob
jamierob / bldgs.geojson
Created January 7, 2015 21:20
D3 leaflet apply class value from geojson data
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.