[Bug 1875501] [NEW] Remove white space from output

Joshua Powers josh.powers at canonical.com
Mon Apr 27 21:55:02 UTC 2020


Public bug reported:

Can we please remove the extra white space before and after the command-
not-found output? It is entirely unnecessary and inconsistent with
nearly any other command. I recall having this discussion way back in
Budapest, but I don't think it ever happened.


Current Result
---
$ vimx

Command 'vimx' not found, did you mean:

  command 'vim' from deb vim (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-tiny (2:8.1.2269-1ubuntu5)
  command 'vim' from deb neovim (0.4.3-3)
  command 'vim' from deb vim-athena (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-gtk3 (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-nox (2:8.1.2269-1ubuntu5)

Try: sudo apt install <deb name>

$


Expected Result
---
$ vimx
Command 'vimx' not found, did you mean:

  command 'vim' from deb vim (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-tiny (2:8.1.2269-1ubuntu5)
  command 'vim' from deb neovim (0.4.3-3)
  command 'vim' from deb vim-athena (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-gtk3 (2:8.1.2269-1ubuntu5)
  command 'vim' from deb vim-nox (2:8.1.2269-1ubuntu5)

Try: sudo apt install <deb name>
$ 


$ lsb_release -rd
Description:	Ubuntu 20.04 LTS
Release:	20.04

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1875501

Title:
  Remove white space from output

Status in command-not-found package in Ubuntu:
  New

Bug description:
  Can we please remove the extra white space before and after the
  command-not-found output? It is entirely unnecessary and inconsistent
  with nearly any other command. I recall having this discussion way
  back in Budapest, but I don't think it ever happened.

  
  Current Result
  ---
  $ vimx

  Command 'vimx' not found, did you mean:

    command 'vim' from deb vim (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-tiny (2:8.1.2269-1ubuntu5)
    command 'vim' from deb neovim (0.4.3-3)
    command 'vim' from deb vim-athena (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-gtk3 (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-nox (2:8.1.2269-1ubuntu5)

  Try: sudo apt install <deb name>

  $

  
  Expected Result
  ---
  $ vimx
  Command 'vimx' not found, did you mean:

    command 'vim' from deb vim (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-tiny (2:8.1.2269-1ubuntu5)
    command 'vim' from deb neovim (0.4.3-3)
    command 'vim' from deb vim-athena (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-gtk3 (2:8.1.2269-1ubuntu5)
    command 'vim' from deb vim-nox (2:8.1.2269-1ubuntu5)

  Try: sudo apt install <deb name>
  $ 

  
  $ lsb_release -rd
  Description:	Ubuntu 20.04 LTS
  Release:	20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875501/+subscriptions



More information about the foundations-bugs mailing list