Unwanted blank after command line <tab> expansion

Ralf Mardorf kde.lists at yahoo.com
Sun Sep 4 15:57:42 UTC 2022


On Sun, 2022-09-04 at 17:52 +0200, Ralf Mardorf wrote:
> On Sun, 2022-09-04 at 16:32 +0100, Colin Law wrote:
> > On Sun, 4 Sept 2022 at 16:18, Keith <keith at caramail.com> wrote:
> > > 
> > > The bash manual page is a bit of a beast with nearly 5000 lines of text.
> > 
> > I have to admit that when I want to look at something like man bash, I
> > often start by googling for man bash which takes one to the manual on
> > the web which is much easier to navigate and search.  One may have to
> > check with the one on your system to make sure it agrees but most of
> > the time it does.  It took me about 15 seconds to google it, go to the
> > first hit (https://linux.die.net/man/1/bash) and search for nospace.
> 
> Hi,
> 
> that's what I often do, too. In case of Ubuntu I add Ubuntu to the
> google search.
> 
> https://manpages.ubuntu.com/manpages/jammy/man1/bash.1.html
> 
> It provides tabs to switch between most releases that aren't EOL and
> even one that is EOL, just 14.04 and 16.04 are missing, both are end of
> standard support, not EOL.
> 
> https://manpages.ubuntu.com/manpages/jammy/man7/bash-builtins.7.html
> 
> What doesn't work are
> 
> complete -o nospace -D cp
> complete -D -o nospace cp
> complete -o nospace cp
> 
> and a few other I tested.

*?*

[rocketmouse at archlinux ~]$ complete -o nospace HOME

doesn't work either to workaround the variable space issue.

[rocketmouse at archlinux ~]$ cp -ai $HOME 
                                       ^a space




More information about the ubuntu-users mailing list