points out that shell wildcard expansion can deliver surprising
results in the presence of filenames which look like switches to the
program. For example, the command
soffice --invisible --nologo --convert-to pdf --outdir subdir1 *
looks like a reasonable attempt to create a pdf for each file in the
current dirrectory. However, if the current directory contains
-rw-r--r-- 1 terry terry 9320 Jul 14 10:47 nuttin.odt
-rw-r--r-- 1 terry terry 0 Jul 14 10:52 --version
the effect is to display the version of LibreOffice and exit.
This is a contrived example, of course. And I lack the imagination to
think of a terribly bad result. So the request boils down to making
LibreOffice work like the Gnu/Linux utilities. I think it would be
harmless to have the requested behaviour on all platforms.
(In reply to comment #0)
http://www.defensecode.com/public/DefenseCode_Unix_WildCards_Gone_Wild.txt for correct link. Confirmed. Seems like a reasonable request. Status set to NEW. Severity set to enhancement.