Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
jondumbau
· 11y ago · 0 comments
curl -s
https://gist.githubusercontent.com/jorin-vogel/7f19ce95a9a84...
| perl -MJSON -e 'print join("\n",map {($_->{creditcard})?qq("$_->{name}","$_->{creditcard}"):()}{name=>Name=>creditcard=>q(Credit Card)},@{decode_json(join("",map{chomp;$_}<>))}) . "\n"' > $(date +'%Y-%m-%d').csv
Comments
No comments yet.
Better HN