Re:Use long flags when scripting (2013)
by dmurray on Friday September 18, 2020 @01:25PM
(#24519483)
I do this if I have to look up the right flag to use. If it's something commonly seen like "grep -o" or "tar -xvzf" I assume whoever is maintaining the script (probably future me) will be more familiar with the abbreviations than the long versions.
Re:Use long flags when scripting (2013)
by 52-6F-62 on Friday September 18, 2020 @01:45PM
(#24519706)
Yeah good point. It did strike me, though, because I'd just written several scripts running JMeter commands and sort of breezed over how they're written even though I had to go and look up all the flags.
I'll add a comment or something explaining it but now I feel guilty and should probably go back and rewrite a few lines...
I mean—for long scripts I'll break them up but I haven't paid much mind to arguments/flags.