4 ms·
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 u
by ryanthejuggler 13y ago
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).
- aidenn0 13y agowhy not write $(grep version package.json)?