Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2018 09:47:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 229472] man echo misses -e option
Message-ID:  <bug-229472-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229472

            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@FreeBSD.org
          Reporter: tz@freebsd.org
                CC: doc@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:=
=20

$ 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229472-9>