bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] gawk-4.0.0b has Linuxism (bash / ksh / zsh extension)


From: Nelson H. F. Beebe
Subject: [bug-gawk] gawk-4.0.0b has Linuxism (bash / ksh / zsh extension)
Date: Fri, 21 Oct 2011 18:11:27 -0600 (MDT)

Builds on non-Linux systems of gawk-4.0.0b failed.  On Solaris
Intel, the reason is this:

    % cd test

    % cat _beginfile2
    --Test 1a--
    ./beginfile2.sh: syntax error at line 16: `prog=$' unexpected

    % sed -n 16p beginfile2.sh
    prog=$($AWK '/#TEST1#/, /#TEST2#/' $AWKPROG)

That syntax does not belong in /bin/sh scripts.  Please fix.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]