Bug#964949: Cannot open files beginning with a dash ('-')

2020-09-14 Thread Nicholas Guriev
Control: severity -1 wishlist On Mon, 13 Jul 2020 10:50:34 +0200 Enrico Zini wrote: > There seems to be no way to use it to open a file whose name begins with > a dash: > > $ sh -x `which xdg-open` -test.pdf Prepend filename with dot-slash: xdg-open ./-test.pdf > I also tried the usual double-

Bug#964949: Cannot open files beginning with a dash ('-')

2020-07-13 Thread Enrico Zini
Package: xdg-utils Version: 1.1.3-1+deb10u1 Severity: important Hello, thank you for maintaining xdg-open. There seems to be no way to use it to open a file whose name begins with a dash: $ sh -x `which xdg-open` -test.pdf + check_common_commands -test.pdf + [ 1 -gt 0 ] + parm=-test.pdf + shift