Welcome to iraf.net Thursday, March 28 2024 @ 06:29 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 iraf 2.16.1 not recognizing options - enhancement proposal
   
marco.03
 07/10/2014 06:00PM (Read 681 times)  
+----
Newbie

Status: offline


Registered: 12/19/2010
Posts: 10
Hi.
the cl startup scripts (cl, ecl and vocl) in IRAF v2.16.1 do not recognize options, like '-old' or '-ecl'. I traced the problem to the 'if' inside the 'case' statement at the start of the bash scripts (lines 16-44).

Two things should need to be done:
* the if statement should be moved out of the "fallthrough" option of the case statement (the one starting with "*)" )
* the comparison between the number of options and 1 should be "greater than or equal to", instead of just "greater than".

At least, I found that only making both these changes the options are actually recognized (using v2.16.1 32bit on ubuntu).

cheers
Marco

 
Profile Email
 Quote
   
Content generated in: 0.02 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login