How to open a file starting with dash via xdg-open
0
votes
2
answers
112
views
Usually, a double dash separates options from filenames, but xdg-open does not care:
❯ xdg-open -headlinesAfter.epub
xdg-open: unexpected option '-headlinesAfter.epub'
Try 'xdg-open --help' for more information.
❯ xdg-open -- -headlinesAfter.epub
xdg-open: unexpected option '--'
Try 'xdg-open --help' for more information.
Is there any other way?
Asked by xeruf
(631 rep)
Sep 3, 2023, 08:59 PM
Last activity: Sep 4, 2023, 09:08 AM
Last activity: Sep 4, 2023, 09:08 AM