https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247791

            Bug ID: 247791
           Summary: sh(1) incorrectly states that, in PS1, '\$' expands
                    with a trailing space
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 216235
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216235&action=edit
Remove excess spaces.

The description of the "\$" sequence for PS1 does not match the implementation.

From the man-page:
> \$      Superuser status.  “$ ” for normal users and “# ”
>         for superusers.

In use:
$ PS1='\$'
$PS1='\$ '
$ ...

Patch:
The attached patch removes the extra spaces from the man-page.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to