Blame extension/revtwoway.3am

Packit 575503
.TH REVTWOWAY 3am "Jan 15 2013" "Free Software Foundation" "GNU Awk Extension Modules"
Packit 575503
.SH NAME
Packit 575503
revtwoway \- Reverse strings sample two-way processor extension
Packit 575503
.SH SYNOPSIS
Packit 575503
.ft CW
Packit 575503
@load "revtwoway"
Packit 575503
.sp
Packit 575503
.nf
Packit 575503
BEGIN {
Packit 575503
    cmd = "/magic/mirror"
Packit 575503
    print "hello, world" |& cmd
Packit 575503
    cmd |& getline result
Packit 575503
    print result
Packit 575503
    close(cmd)
Packit 575503
}
Packit 575503
.fi
Packit 575503
.ft R
Packit 575503
.SH DESCRIPTION
Packit 575503
The
Packit 575503
.I revtwoway
Packit 575503
extension
Packit 575503
adds a simple two-way processor that reverses the characters
Packit 575503
in each line sent to it for reading back by the AWK program.
Packit 575503
It's main purpose is to show how to write a two-way extension, although
Packit 575503
it may also be mildly amusing.
Packit 575503
.\" .SH BUGS
Packit 575503
.SH "SEE ALSO"
Packit 575503
.IR "GAWK: Effective AWK Programming" ,
Packit 575503
.IR filefuncs (3am),
Packit 575503
.IR fnmatch (3am),
Packit 575503
.IR fork (3am),
Packit 575503
.IR inplace (3am),
Packit 575503
.IR ordchr (3am),
Packit 575503
.IR readdir (3am),
Packit 575503
.IR readfile (3am),
Packit 575503
.IR revoutput (3am),
Packit 575503
.IR rwarray (3am),
Packit 575503
.IR time (3am).
Packit 575503
.SH AUTHOR
Packit 575503
Arnold Robbins,
Packit 575503
.BR arnold@skeeve.com .
Packit 575503
.SH COPYING PERMISSIONS
Packit 575503
Copyright \(co 2012, 2013,
Packit 575503
Free Software Foundation, Inc.
Packit 575503
.PP
Packit 575503
Permission is granted to make and distribute verbatim copies of
Packit 575503
this manual page provided the copyright notice and this permission
Packit 575503
notice are preserved on all copies.
Packit 575503
.ig
Packit 575503
Permission is granted to process this file through troff and print the
Packit 575503
results, provided the printed document carries copying permission
Packit 575503
notice identical to this one except for the removal of this paragraph
Packit 575503
(this paragraph not being relevant to the printed manual page).
Packit 575503
..
Packit 575503
.PP
Packit 575503
Permission is granted to copy and distribute modified versions of this
Packit 575503
manual page under the conditions for verbatim copying, provided that
Packit 575503
the entire resulting derived work is distributed under the terms of a
Packit 575503
permission notice identical to this one.
Packit 575503
.PP
Packit 575503
Permission is granted to copy and distribute translations of this
Packit 575503
manual page into another language, under the above conditions for
Packit 575503
modified versions, except that this permission notice may be stated in
Packit 575503
a translation approved by the Foundation.
Packit 575503
.\" vim: set filetype=nroff :