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

Home » Public Forums » archive » to use linux commands inside idl
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
to use linux commands inside idl [message #82626] Tue, 01 January 2013 19:16
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
Hello everyone,
I want to use the linux command inside the idl program
My linux command is,

sed -i 's/\(.*data=dblarr(4,ss2).*\)/data=dblarr(4,ss2)&ir=dbla rr(16)/g' progo_dark_limb0.pro

now if I use $ sign it is not at all working.
If I use spawn,'the above text' then error is coming like, illegal character in program text.

Can anyone please let me know how to add this linux command in idl program.
thanking you in advance
sid
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Least squares spectral analysis (LSSA) implementation
Next Topic: running and compiling programs in different folder from main directory

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

Current Time: Wed Oct 08 15:08:07 PDT 2025

Total time taken to generate the page: 0.00525 seconds