revoutput(3am)


NAME

   revoutput - Reverse output strings sample extension

SYNOPSIS

   @load "revoutput"

   BEGIN { REVOUT = 1 }    # Reverse all output strings

DESCRIPTION

   The  revoutput extension adds a simple output wrapper that reverses the
   characters in each output line.  It's main purpose is to  show  how  to
   write  an  output  wrapper,  although  it  may be mildy amusing for the
   unwary.

EXAMPLE

   @load "revoutput"

   BEGIN {
       REVOUT = 1
       print "hello, world" > "/dev/stdout"
   }

   The output from this program is:

   dlrow ,olleh

SEE ALSO

   GAWK:  Effective   AWK   Programming,   filefuncs(3am),   fnmatch(3am),
   fork(3am),   inplace(3am),  ordchr(3am),  readdir(3am),  readfile(3am),
   rwarray(3am), time(3am).

AUTHOR

   Arnold Robbins, arnold@skeeve.com.

COPYING PERMISSIONS

   Copyright  2012, 2013, Free Software Foundation, Inc.

   Permission is granted to make and distribute verbatim  copies  of  this
   manual  page  provided  the copyright notice and this permission notice
   are preserved on all copies.

   Permission is granted to copy and distribute modified versions of  this
   manual  page  under  the conditions for verbatim copying, provided that
   the entire resulting derived work is distributed under the terms  of  a
   permission notice identical to this one.

   Permission  is  granted  to  copy  and  distribute translations of this
   manual page into another  language,  under  the  above  conditions  for
   modified  versions, except that this permission notice may be stated in
   a translation approved by the Foundation.


More Linux Commands

manpages/fmemopen.3.html
fmemopen(3) - open memory as stream - Linux manual page.....
The fmemopen() function opens a stream that permits the access specified by mode. The stream allows I/O to be performed on the string or memory buffer pointed t

manpages/fsck.ext4.8.html
fsck.ext4(8) - check a Linux ext2/ext3/ext4 file system.....
e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ext3 and ext4 filesystems that use a journal, if the system has been shut down uncleanly

manpages/cabsf.3.html
cabsf(3) - absolute value of a complex number (Man Page)....
The cabs() function returns the absolute value of the complex number z. The result is a real number. VERSIONS These functions first appeared in glibc in version

manpages/pam_deny.8.html
pam_deny(8) - The locking-out PAM module - Linux man page...
This module can be used to deny access. It always indicates a failure to the application through the PAM framework. It might be suitable for using for default (

manpages/Tk_GetUserInactiveTime.3.html
Tk_GetUserInactiveTime(3) - discover user inactivity time...
Tk_GetUserInactiveTime returns the number of milliseconds that have passed since the last user interaction (usually via keyboard or mouse) with the respective d

manpages/pamstretch.1.html
pamstretch(1) - scale up a PNM or PAM image by interpolating
This program is part of Netpbm(1) pamstretch scales up pictures by integer values, either vertically, horizontally, or both. pamstretch differs from pamscale an

manpages/bsearch.3.html
bsearch(3) - binary search of a sorted array (Man Page).....
The bsearch() function searches an array of nmemb objects, the initial member of which is pointed to by base, for a member that matches the object pointed to by

manpages/SDL_GetRelativeMouseState.3.html
SDL_GetRelativeMouseState(3) - Retrieve the current state of
The current button state is returned as a button bitmask, which can be tested using the SDL_BUTTON(X) macros, and x and y are set to the change in the mouse pos

manpages/Tcl_StandardChannels.3.html
Tcl_StandardChannels(3) - How the Tcl library deals with the
This page explains the initialization and use of standard channels in the Tcl library. The term standard channels comes out of the Unix world and refers to the

manpages/Tcl_SetEnsembleFlags.3.html
Tcl_SetEnsembleFlags(3) - manipulate ensemble commands......
An ensemble is a command, bound to some namespace, which consists of a collection of subcommands implemented by other Tcl commands. The first argument to the en

manpages/glGetMaterialiv.3gl.html
glGetMaterialiv(3gl) - return material parameters (ManPage)
glGetMaterial returns in params the value or values of parameter pname of material face. Six parameters are defined: GL_AMBIENT params returns four integer or f

manpages/update-smart-drivedb.8.html
update-smart-drivedb(8) update smartmontools drive database
update-smart-drivedb updates /usr/share/smartmontools/drivedb.h or DESTFILE from smartmontools SVN repository. It tries to download first from the current branc





We can't live, work or learn in freedom unless the software we use is free.