Page MenuHomeFreeBSD

D43493.id132921.diff
No OneTemporary

D43493.id132921.diff

diff --git a/bin/echo/echo.1 b/bin/echo/echo.1
--- a/bin/echo/echo.1
+++ b/bin/echo/echo.1
@@ -89,6 +89,24 @@
manual page.
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+Special treatment of options and backslashes:
+.Bd -literal -offset indent
+$ /bin/echo "-hello\\tworld"
+-hello\tworld
+.Ed
+.Pp
+Avoid new line character:
+.Bd -literal -offset indent
+$ /bin/echo -n hello;echo world
+helloworld
+.Ed
+.Pp
+Or to achieve the same result:
+.Bd -literal -offset indent
+$ /bin/echo "hello\\c" ;echo world
+helloworld
+.Ed
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr csh 1 ,

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 28, 6:14 PM (15 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26293879
Default Alt Text
D43493.id132921.diff (566 B)

Event Timeline