comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TRICKY TASK USING AWK
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: TRICKY TASK USING AWK [message #92792 is a reply to message #92789] Mon, 29 February 2016 09:33 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Does the error message really contain the string "fnameo[i]"? If yes,
then this the error message must stem from IDL, not from the OS.

What happens if you replace the line
| cmd ='awk -v var="$i" ''{print $var}'' ' + fname[i] + ' > ' + fnameo[i]
by
| print,'awk -v var="$i" ''{print $var}'' ' + fname[i] + ' > ' + fnameo[i]
?

Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looping through structures
Next Topic: Segmentation fault (core dumped)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:02:29 PDT 2025

Total time taken to generate the page: 0.00472 seconds