pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/runawk



Module name:    wip
Committed by:   cheusov
Date:           Thu Mar  4 17:22:25 UTC 2010

Modified Files:
        wip/runawk: Makefile PLIST distinfo

Log Message:

Update to version 0.20.0

  MAJOR CHANGES:
  ========================================
  New module: fieldwidths.awk:
    By default AWK interpreter splits input lines into tokens
    according to regular expression that defines "spaces" between them
    using special variable FS. Sometimes it is useful to define a
    fixed-size fields for tokens. This is what this module is for. The
    functionality of fieldwidths.awk is very close to GNU awk's
    FIELDWIDTHS variable but is available for all flavours of AWK ;-)

  New module: tmpfile.awk:
    This module provides a function `tmpfile' for generating temporary
    filenames. All these filenames are under temporary directory
    created (if necessary) by runawk(1) which is removed automatically
    during normal exit or when runawk(1) reveives SIGINT, SIGQUIT,
    SIGTERM, SIGHUP or SIGPIPE. Thus, this module provides a safe way
    to work with temporary files.

  new runawk directive: #interp-var that specifies an environment
  variable name that keeps a preferred AWK interpreter. See a manual
  page for details.

  new runawk directive: #safe-use that #use module if it
  exists. Example is below. For more details see a manual page.

    foobar application:
      #!/usr/bin/env runawk
      #safe-use "~/.foobarrc" "/etc/foobar.conf"
      BEGIN {
        print foo, bar, baz
      }

    config file ~/.foobarrc for foobar application:
      BEGIN {
        foo = "foo10"
        bar = "bar20"
        baz = 123
      }

  fix in power_getopt.awk: arguments equal to "" (empty string) are
  now processed correctly.

  power_getopt.awk: after options processing ARGV [1], ARGV [2], ...,
  ARGV [ARGC-1] are set to non-option arguments.

  new in heapsort.awk: functions sift_down and sift_up.

  fix in tokenre.awk: There is no need to initialize TRE variable, it
  is already initialized to "" at startup. This fixes a problem with
  'runawk -v TRE=lalala ...'

  Minor fixes and rewords in the runawk.1 and README.


To generate a diff of this commit:
cvs -z3 rdiff -u -r1.14 -r1.15 wip/runawk/PLIST
cvs -z3 rdiff -u -r1.17 -r1.18 wip/runawk/distinfo
cvs -z3 rdiff -u -r1.42 -r1.43 wip/runawk/Makefile

To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/runawk/PLIST?r1=1.14&r2=1.15
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/runawk/distinfo?r1=1.17&r2=1.18
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/runawk/Makefile?r1=1.42&r2=1.43

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs


Home | Main Index | Thread Index | Old Index