Unwanted blank after command line <tab> expansion

Keith keith at caramail.com
Sun Sep 4 15:16:58 UTC 2022


On 9/4/22 7:25 AM, Karl Auer wrote:
> On Sun, 2022-09-04 at 13:04 +0200, Ralf Mardorf via ubuntu-users wrote:
>> that's what I did, but you didn't in your reply in August, right?
> 
> I said
> 
>     man bash, look for "nospace" ?
> 
> Seems pretty clear to me. That was on 31 August (UTC). I don't know why
> Mark felt the need to post the same question again; I guess the man
> page was not as helpful to him as I thought it would be.
> 
> The point stands: Don't quote manual pages unless it is to quote a
> specific solution, and even then it's usually better to tell the user
> what to look for because they may have different man pages to you.
> 
>> I still don't know how to use it
> 
> Someone who uses custom completions should be able to work out from the
> man page (and definitely from my explanation) how to turn off that
> pesky space. And do other neat things with completions as well.
> 

The bash manual page is a bit of a beast with nearly 5000 lines of text. 
Can be a bit of slog to search through especially if the term you are 
looking for is passingly referenced multiple times throughout the 
manpage.  I'd recommend using the bash-builtins manpage as it has only 
about 1500 lines of text (heh) and only covers bash builtin commands 
like complete. It's more concise and quicker to search.

-- 
Keith






More information about the ubuntu-users mailing list