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

Home » Public Forums » archive » SHELL+IDL bridge.
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: SHELL+IDL bridge. [message #92901 is a reply to message #92896] Fri, 18 March 2016 09:34 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Friday, March 18, 2016 at 7:52:49 AM UTC-4, Sapna Mishra wrote:
> Hello all,
>
> I have a bash script , in which I want to read a file using IDL
>

You have some serious issues, but they are mostly BASH related and mostly not related to IDL.

Issue 1: your !here document doesn't end
Issue 2: substitution is not working in the order you think it does. Instead of sending the script to IDL directly, send it to a file and see what comes out. You will be surprised what is missing.
Issue 3: your use of single quotes in the SPAWN statements are potential syntax errors. Within IDL you cannot embed single quotes within a single-quoted string like you did. This "string 'single'" is OK but 'string 'single'' is not.

Craig
[Message index]
 
Read Message
Read Message
Previous Topic: Take values from several arrays with nearest neighbour matching
Next Topic: error in cgWindRose code

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

Current Time: Wed Oct 08 20:09:07 PDT 2025

Total time taken to generate the page: 0.00828 seconds