Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ralf Fassel Newsgroups: comp.os.linux.misc Subject: Re: xdg-open script question Date: Wed, 25 May 2022 12:20:05 +0200 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net 9Q84qP39DJuaqAHftRjMjQuLNtdMJiJi1+MW0EEABIwSErT74= Cancel-Lock: sha1:lFjxkMewa9D/0AssRYBv/Cti2aA= sha1:bcrJqFXNBY3rWV5NHgtneYRaqn8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Xref: csiph.com comp.os.linux.misc:34674 * Kirk_Rockstein | kirk@shuttle:~$ /usr/bin/git-annex webapp | /usr/bin/git-annex: Relink `/usr/lib/i386-linux-gnu/libmagic.so.1' with `/lib/i386-linux-gnu/libpthread.so.0' for IFUNC symbol `vfork' | Launching web browser on file:///home/kirk/annex/.git/annex/webapp.html | /usr/bin/xdg-open: line 811: : command not found > | Where do I start to trouble shoot this, at line 811 of the xdg-open script? I would run sh -x /usr/bin/xdg-open file:///home/kirk/annex/.git/annex/webapp.html from the command line and see whether it gives the same error. If it does, the outpout (which is plenty and probably should be redirected to a file) should give a hint what the problem is. I suspect that the problem is a lookup on a command which is not found, and thus the shell tries to execute "": $ "" sh: : command not found HTH R'