Thread (2 messages) 2 messages, 2 authors, 2021-08-04

Error in getopts(1p)

From: Štěpán Němec <hidden>
Date: 2021-08-04 09:40:00

  Hello,

there is an error at the end of the example:

  printf "Remaining arguments are: %s\n$*"

should be

  printf "Remaining arguments are: %s\n" "$*"

(cf.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/getopts.html )

I would have sent a patch, but couldn't find the POSIX man page sources.
Are they available somewhere?

  Thanks,

  Štěpán
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help