[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The following awk script fails on IRIX 6.5.19m
From: |
Aharon Robbins |
Subject: |
Re: The following awk script fails on IRIX 6.5.19m |
Date: |
Sun, 11 May 2003 12:11:21 +0300 |
Greetings. Re this:
> Subject: The following awk script fails on IRIX 6.5.19m
> From: Ray Kosby <address@hidden>
> To: address@hidden
> Date: 07 May 2003 15:57:42 -0400
>
>
> echo "Module setenvif_module modules/standard/mod_setenvif.o" |
> awk '{ n = split ($3, pp, "/")
> print pp[2] }'
>
> Split doesn't work on IRIX.
I asked you to verify which awk and how compiled. You said:
> Subject: Re: The following awk script fails on IRIX 6.5.19m
> From: Ray Kosby <address@hidden>
> To: Aharon Robbins <address@hidden>
> Date: 08 May 2003 09:08:19 -0400
>
> Hi,
>
> awk --version
> GNU Awk 3.1.1
>
> It was configured using the defaults. It was compiled with gcc version
> 2.8.1.
I tested both 3.1.1 and 3.1.2 using gcc 3.2 on an IRIX system, and
your program worked fine, printing "standard". I don't know what
else I can do for you.
Sorry,
Arnold