Follow

@Anachron@fosstodon.org
In some cases letting the program read the file directly instead of spawning cat and piping its output is preferrable, but in most cases it would be precipitate optimization — always a mistake, clarity is more important. That's a valid point indeed!
We're talking shell scripts here, any optimization in absolute most cases would be ephemeral… Unless it's something like using [START..END] sequence to pass thousands of filenames as parameters instead of using a proper loop of course 🤭

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml