[Bug 229472] man echo misses -e option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 2 09:47:53 UTC 2018


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

            Bug ID: 229472
           Summary: man echo misses -e option
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: tz at freebsd.org
                CC: doc at FreeBSD.org

Aloha,

man echo does not document the "-e" option.

This option will for example convert an "\n" into a real new line. Example: 

$ echo "muff\nmuff"
muff\nmuff
$ echo -e "muff\nmuff"
muff
muff

This works for other control chars too.

I stumbled across this by accident.

Greetings,
Torsten

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list