On Mon, Mar 17, 2025 at 3:43 AM Christian Schulte <c...@schulte.it> wrote:
...
> No idea how many shells there are around doing things the way the do.
> Running "grep printf configure" on the configure script generated by the
> GNU toolchain shows a lot of "printf" without --.

Hmm, if you wanted to see what was in the root directory, would you run
   ls -l -- /

or just
   ls -l /

?  The -- option terminator is only necessary if the first positional
argument (the format string for printf) does or could start with a
hyphen.  If it cannot, then the behavior is portable even without the
--.


Philip Guenther

Reply via email to