Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137965997
D43493.id132921.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
566 B
Referenced Files
None
Subscribers
None
D43493.id132921.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D43493: echo(1): Add EXAMPLES
Attached
Detach File
Event Timeline
Log In to Comment