3 ms·
It'd also be a great time to establish a better standard for using these programs with a shell or scripting. For example, if ls had a --shell option that would
by bsdetector 5y ago
It'd also be a great time to establish a better standard for using these programs with a shell or scripting.
For example, if ls had a --shell option that would write out file information as quoted eval'able variables, or even JSON, or anything that was easily and reliably parsable it would remove a huge portion of scripting headaches and errors.