Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107035904
D25242.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
737 B
Referenced Files
None
Subscribers
None
D25242.diff
View Options
diff --git a/contrib/vis/vis.1 b/contrib/vis/vis.1
--- a/contrib/vis/vis.1
+++ b/contrib/vis/vis.1
@@ -155,6 +155,25 @@
Specify the locale of the input data.
Set to C if the input data locale is unknown.
.El
+.Sh EXAMPLES
+Visualize characters encoding white spaces and tabs:
+.Bd -literal -offset indent
+$ echo -e "\\x10\\n\\t" | vis -w -t
+\\^P\\012\\011\\012
+.Ed
+.Pp
+Same as above but using `\\$' for newline followed by an actual newline:
+.Bd -literal -offset indent
+$ echo -e "\\x10\\n\\t" | vis -w -t -l
+\\^P\\$
+\\011\\$
+.Ed
+.Pp
+Visualize string using URI encoding:
+.Bd -literal -offset indent
+$ echo http://www.freebsd.org | vis -h
+http%3a%2f%2fwww.freebsd.org%0a
+.Ed
.Sh SEE ALSO
.Xr unvis 1 ,
.Xr svis 3 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 7:45 AM (12 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15740776
Default Alt Text
D25242.diff (737 B)
Attached To
Mode
D25242: vis(1): Add EXAMPLES section
Attached
Detach File
Event Timeline
Log In to Comment