TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Tsv2csv Clojure Powered Command Line Tool

2 点作者 CameronBarre超过 5 年前

1 comment

CameronBarre超过 5 年前
Hi everyone, author here, I put this small utility together while exploring the idea of using existing tools to import macroeconomic data from the BLS vs a pure homemade solution with a full-on Clojure project.<p>With that project I ended up settling on using wget, my tsv2csv tool, and pgfutter for streaming data into postgres and GNU parallel to create and import all tables at once.<p>I couldn&#x27;t resist creating this tool at the time because, honestly, I write LISP faster than I adjust to conventional tooling like sed and awk.<p>It&#x27;s still a goal to learn those better, but when it came to full on scrubbing of rows and columns, I already had code like tsv2csv in my homegrown BLS importer and I knew how simple it was.<p>It&#x27;s made to participate in streaming so it processes line by line from stdin to stdout.<p>Thanks!