Thread

  1. run_check problem

    Keith Parks <emkxp01@mtcc.demon.co.uk> — 1999-11-24T23:37:43Z

    Hi all,
    
    I'm getting an error in run_check.sh on Solaris.
    
    
    MULTIBYTE=;export MULTIBYTE; \
    /bin/sh ./run_check.sh solaris_sparc
    awk: syntax error near line 1
    awk: illegal statement near line 1
    awk: syntax error near line 2
    awk: illegal statement near line 2
    =============== Create ./tmp_check directory           ================
    .
    .
    
    
    This is due to 2 problems.
    
    1) The awk script is broken over 2 lines.
    2) Solaris's awk does not seem to understand REs in split(). (nawk's OK)
    
    1 is easy to fix, 2 is tricky - to remain portable.
    
    Keith.