Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153682077
D25196.id72848.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D25196.id72848.diff
View Options
Index: colrm/colrm.1
===================================================================
--- colrm/colrm.1
+++ colrm/colrm.1
@@ -75,6 +75,26 @@
.Xr environ 7 .
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+Show columns below 3 (c) and above 5 (e)
+.Bd -literal -offset indent
+$ echo -e "abcdefgh\\n12345678" | colrm 3 5
+abfgh
+12678
+.Ed
+.Pp
+Specifying a start column bigger than the number of columns in the file is
+allowed and shows all the columns:
+.Bd -literal -offset indent
+$ echo "abcdefgh" | colrm 100
+abcdefgh
+.Ed
+.Pp
+Using 1 as start column will show nothing:
+.Bd -literal -offset indent
+$ echo "abcdefgh" | colrm 1
+
+.Ed
.Sh SEE ALSO
.Xr awk 1 ,
.Xr column 1 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 9:39 PM (14 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32046112
Default Alt Text
D25196.id72848.diff (686 B)
Attached To
Mode
D25196: colrm(1): Add EXAMPLES section
Attached
Detach File
Event Timeline
Log In to Comment