Skip to content

Comment on Ask HN: Do you misuse apps?

Comments

I don't think there's a sysadmin in existence who hasn't misused $(cat). It's really for concatenating 2 files, but only rarely have I ever used it or seen it used for anything other than quickly checking contents of a file; e.g., $(cat package.json | grep version).

why not write $(grep version package.json)?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.