~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/pipeio2.awk

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 11:49:57 UTC
  • Revision ID: git-v1:6a2caf2157d87b4b582b2494bdd7d6a688dd0b1f
Tags: gawk-3.1.6
Move to gawk-3.1.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
                        #com = "cal 01 1997"
26
26
                        com = ("cat " SRCDIR "/pipeio2.in")
27
27
 
28
 
                        while ((com | getline fnam) > 0) {
 
28
                        # Don't use empty lines, because Windows ECHO does
 
29
                        # something different when invoked without arguments
 
30
                        while ((com | getline fnam) > 0 && fnam != "") {
29
31
 
30
32
#                               com_tr = "echo " fnam " | tr [0-9]. ..........."
31
33
#                               com_tr = "echo " fnam " | sed 's/[0-9]/./g'"