News for hackers. Stuff that matters.
Re:Use long flags when scripting (2013) by leoh on Saturday September 19, 2020 @12:18AM (#24525009)
I disagree. BSD and GNU implementations differ. Because of this, it's easier to discern intent of long flags.
Re:Use long flags when scripting (2013) by scbrg on Saturday September 19, 2020 @02:46AM (#24525676)
I assume the intent to discern, then, is that the script isn't supposed to run on BSD :-)
Re:Use long flags when scripting (2013) by 0xdeadb00f on Saturday September 19, 2020 @01:30AM (#24525392)
Also, some BSD equivalents of GNU commands don't even have long flags.
Re:Use long flags when scripting (2013) by leoh on Sunday September 20, 2020 @04:37PM (#24537197)
That's not the point. The point is that you can discern intent if you are writing against the GNU implemention so one can trivially reimplement against BSD.