Bug 247948

Summary: rc.d: Remove extra space in messages
Product: Base System Reporter: Jose Luis Duran <jlduran>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: allanjude
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Remove extra space none

Description Jose Luis Duran freebsd_committer freebsd_triage 2020-07-13 11:55:40 UTC
Created attachment 216417 [details]
Remove extra space

The space between words is already being echoed by the space between quoted strings:

    % echo 'foo' 'bar'
    foo bar

    % echo 'foo' ' baz'
    foo  baz

Found in `ipfw` and `mountlate` messages.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-07-13 13:45:26 UTC
A commit references this bug:

Author: allanjude
Date: Mon Jul 13 13:44:55 UTC 2020
New revision: 363142
URL: https://svnweb.freebsd.org/changeset/base/363142

Log:
  Remove excess spaces from rc.d scripts

  The space between words is already being echoed by the space between quoted strings:

      % echo 'foo' 'bar'
      foo bar

      % echo 'foo' ' baz'
      foo  baz

  Found in `ipfw` and `mountlate` messages.

  PR:		247948
  Submitted by:	Jose Luis Duran <jlduran@gmail.com>
  MFC after:	2 weeks
  Sponsored by:	Klara Inc.

Changes:
  head/libexec/rc/rc.d/ipfw
  head/libexec/rc/rc.d/mountlate