2 ms·
In many situations it's quicker to just rely on muscle memory than coming up with the most efficient way to read a few 50kB files. It's a good thing to be awar
by alpaca128 6y ago
In many situations it's quicker to just rely on muscle memory than coming up with the most efficient way to read a few 50kB files.
It's a good thing to be aware of the differences when needed, but often the execution speed is not the reason for writing a bash script.
- aflag 6y agoI don’t think efficiency matters much in this case, but more robust and concise code is better. Most commands either take a file as a unnamed argument or you can just do something like <filename. But I agree, there may be commands where passing the file name is awkward (eg. jq)
- deleted 6y ago[deleted]