wmiiloop man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

WMIILOOP(1)							   WMIILOOP(1)

NAME
       wmiiloop-VERSION

SYNOPSIS
       eval "$(wmiiloop <events)"

DESCRIPTION
       wmiiloop	 is  an	 awk  and sh script which preprocesses sh(1) syntax to
       simplify writing a wmii event loop.

       wmiiloop associates lines begining with Event, Action, or  Key  (hence‐
       forth  known as $keyword), followed by arbitrary text (henceforth known
       as $args), with functions which call any indented lines	which  follow.
       In  the	function  names,  all non-alphanumeric characters in $args are
       replaced	 with  underscores  (_).  The  functions   are	 named	 $key‐
       word'_'$args.

       Any variables in the unintented lines are interpolated by the shell.

       Additionally, each declaration's $args are assigned to a variable named
       $keyword's'.  In this case, no transliteration  occurs.	For  instance,
       the following declaration:

       Key $MODKEY-j
	    echo Got $@

       yields (assuming $MODKEY is set to Mod1):

       Keys=" $Keys Mod1-j"
       Mod1_j() {
	    echo Got $@
       }

SEE ALSO
       wmii(1), wmii(1).  wmiir(1), PREFX/etc/wmiirc

				  25 May 2007			   WMIILOOP(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net