Subject: CVS commit: wip/runawk
From: Aleksey Cheusov
Date: 2010-03-28 13:41:50
Message id: E1NvqsX-00027r-8R@sfp-cvsdas-2.v30.ch3.sourceforge.com

Log Message:

Uopdate to 0.21.0

  fixed: compilation failure on recent Linux-es (warn_unused_result
  attribute of system(3) function in recent glibc).

  fixed: compilation failures on FreeBSD ("assignment discards
  qualifiers from pointer target type" warning which is critical with
  -Werror).

  fixed: compilation failure with Intel C Compiler

  Now one can pass arguments to awk program specified with
   -e option after --, that is like the following
     runawk -e '<awk program>' -- <extra options for your program>

  New simple modules:

    - trim.awk: this modules provides a set of simple functions for
      trimming spaces from the string.

    - backslash_in.awk treats backslash symbol at the end of input line
      as "this line will continue on the next line".

	 $ cat ~/tmp/9.txt
	 Some text here \
	 and here too. \
	 This is still the first line.
	 This is the second.
	 And this is third one that\
	  continues on the next line \
	 and the next line too.
	 Ok, we finally have four lines of text.
	 $ runawk -f backslash_in.awk -e '{print}' ~/tmp/9.txt
	 Some text here and here too. This is still the first line.
	 This is the second.
	 And this is third one that continues on the next line and the next
	 line too.
	 Ok, we finally have four lines of text.
	 $

    - trim_in.awk trims spaces from input lines.

    - CR_in.awk removes CR symbols from input lines.

Files:
RevisionActionfile
1.19modifywip/runawk/distinfo
1.44modifywip/runawk/Makefile
1.16modifywip/runawk/PLIST