summaryrefslogtreecommitdiff
path: root/sys/man/1/awk
diff options
context:
space:
mode:
authoraiju <aiju@phicode.de>2011-06-03 13:27:04 +0200
committeraiju <aiju@phicode.de>2011-06-03 13:27:04 +0200
commiteadeb86f5132ca1cd5595179fe5a503ec69dca4a (patch)
tree658867c1f05bbed02c229c416d2693723a9fbf95 /sys/man/1/awk
parent7a4e46d7abb4d1cd95bbe2143e0b42c76568e505 (diff)
fixed issue #29
Diffstat (limited to 'sys/man/1/awk')
-rw-r--r--sys/man/1/awk11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/man/1/awk b/sys/man/1/awk
index d79b963c4..02c27b206 100644
--- a/sys/man/1/awk
+++ b/sys/man/1/awk
@@ -243,6 +243,13 @@ converts its numerical argument, a character number, to a
.SM UTF
string
.TP
+.BI substr( s , " m")
+the maximum length substring of
+.I s
+that begins at position
+.IR m
+counted from 1.
+.TP
.BI substr( s , " m" , " n\fL)
the
.IR n -character
@@ -303,6 +310,10 @@ If
is not given,
.B $0
is used.
+.B &
+in
+.I t
+is replaced by the match.
.TP
.B gsub
same as