diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-15 20:50:35 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-15 20:50:35 +0300 |
commit | 09dc31a240626db0b0de7047ee2c9f6978b14585 (patch) | |
tree | fb9a3b8cbf23fc522e0c5168cbd21d816e8f702f /doc/gawk.1 | |
parent | da3c8a20b91d4fd1306f758dd05251686b63a713 (diff) | |
parent | ddb62efafb5659dae532089af83350f066446424 (diff) | |
download | egawk-09dc31a240626db0b0de7047ee2c9f6978b14585.tar.gz egawk-09dc31a240626db0b0de7047ee2c9f6978b14585.tar.bz2 egawk-09dc31a240626db0b0de7047ee2c9f6978b14585.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'doc/gawk.1')
-rw-r--r-- | doc/gawk.1 | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -13,7 +13,7 @@ . if \w'\(rq' .ds rq "\(rq . \} .\} -.TH GAWK 1 "Mar 7 2016" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "Jun 15 2016" "Free Software Foundation" "Utility Commands" .SH NAME gawk \- pattern scanning and processing language .SH SYNOPSIS @@ -3213,13 +3213,28 @@ bits. Return the bitwise XOR of the values provided in the argument list. There must be at least two. .PP -.SS Type Function +.SS Type Functions The following function is for use with multidimensional arrays. .TP \fBisarray(\fIx\fB)\fR Return true if .I x is an array, false otherwise. +.PP +You can tell the type of any variable or array element with the +following function: +.TP +\fBtypeof(\fIx\fB)\fR +Return a string indicating the type of +.IR x . +The string will be one of +\fB"array"\fP, +\fB"number"\fP, +\fB"regexp"\fP, +\fB"string"\fP, +\fB"strnum"\fP, +or +\fB"undefined"\fP. .SS Internationalization Functions The following functions may be used from within your AWK program for translating strings at run-time. |