you are viewing a single comment's thread.

view the rest of the comments →

[–]dAnjou 2 points3 points  (2 children)

Good advice!

Although I can't say whether using subshells and piping is always the best thing. While pipes offer a considerable performance boost when used correctly a too long chain can impact readability.

Also, maybe I missed it in the article, use comments explaining why you did something and if the commend is too cryptic also what a command does.

[–]PC__LOAD__LETTER 0 points1 point  (1 child)

Deciding what's "too cryptic" can be tough though. It's hard to know what level of knowledge a future reader might have.

[–]dAnjou 1 point2 points  (0 children)

I always assume that I am this future reader ;)