From 700b6ddbe8f6c0a84cb61abac6fd94a4fe9221ca Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Wed, 21 Mar 2012 21:01:11 -0400 Subject: New @load keyword to load shared libraries. --- doc/gawk.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/gawk.1') diff --git a/doc/gawk.1 b/doc/gawk.1 index cc0ccae2..2e039521 100644 --- a/doc/gawk.1 +++ b/doc/gawk.1 @@ -563,6 +563,9 @@ and optional function definitions. .RS .PP \fB@include "\fIfilename\fB" +.br +\fB@load "\fIfilename\fB" +.br \fIpattern\fB { \fIaction statements\fB }\fR .br \fBfunction \fIname\fB(\fIparameter list\fB) { \fIstatements\fB }\fR @@ -594,6 +597,13 @@ In addition, lines beginning with may be used to include other source files into your program, making library use even easier. .PP +Lines beginning with +.B @load +may be used to load shared libraries into your program. This is equivalent +to using the +.B \-l +option. +.PP The environment variable .B AWKPATH specifies a search path to use when finding source files named with -- cgit v1.2.3