Re: how execute a script
On Tue 17 Nov 2015 at 21:18:57 +0100, tomas@tuxteam.de wrote:
> On Tue, Nov 17, 2015 at 06:56:40PM +0000, Brian wrote:
>
> [...]
>
> > My example: gv does not recognise the PDF file 'test' as something it is
> > *capable of opening*. With 'test' as the only file in a directory the
> > command gv plus TAB completion doesn't produce 'gv test'. But 'gv test'
> > opens the file, which is all that matters.
>
> The TAB thing is your shell's autocompletion talking, gv isn't involved.
> And yes, shell's autocompletion usually relies on the file name pattern
> (dot-ending, aka "extension" is but a special case of that).
David Wright said something similar.
https://lists.debian.org/debian-user/2015/11/msg00631.html
The file "example" is a PDF.
'gs exa' and 'mupdf exa' TAB complete the file name. gv and xpdf do
not. Is the shell being discriminatory?
Reply to: