[Bug 1875501] Re: Remove empty lines from output

Matthew Paul Thomas 1875501 at bugs.launchpad.net
Thu May 21 07:43:03 UTC 2020


In visual design, I find it useful to follow a rule that spacing should
reflect closeness of relationship. That is,  less-related things should
be at least as far apart as closer-related things.

How applicable that is to a CLI is debatable … But it would go against
that rule to have blank lines within the output, but not surrounding the
output.

So I think it would be fine to drop the initial and final blank lines,
if you also dropped the other two blank lines.

(BTW, Incomplete is for reports that should expire if the missing info
isn’t provided. That doesn’t apply here.)

** Changed in: command-not-found (Ubuntu Groovy)
       Status: Incomplete => 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 empty lines from output

Status in command-not-found package in Ubuntu:
  New
Status in command-not-found source package in Groovy:
  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