https://bugs.freedesktop.org/show_bug.cgi?id=81353
Priority: medium
Bug ID: 81353
Assignee: [email protected]
Summary: RFE: "--" on command line to mark end of options
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: unspecified
Component: Libreoffice
Product: LibreOffice
<http://www.defensecode.com/public/DefenseCode_Unix_Wildcarsx_Gone_Wild.txt>
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
total 12
-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.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs