you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (1 child)

Some would call the former command cat abuse.

In short, unless you want the contents of a file printed to stdout (or multiple files concatenated), the command can probably be written without cat, instead using the filename as an argument (grep pattern file) or IO redirection (cmd < file).

Stylistics and readability are another thing though.

  • source
  • parent
  • hideshow 1 child comment