Welcome to iraf.net Thursday, May 02 2024 @ 02:37 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 If a task is a script or executable?
   
AndrewS
 11/28/2010 04:44PM (Read 1138 times)  
++---
Junior

Status: offline


Registered: 10/10/2010
Posts: 33
Can anyone tell me what is the easiest way to find out if a task is a script file or an executable program? ie. is it possible to bring up a list of all tasks that are script files?I understand "help <taskname> option=source" will bring up the script file (if it is a script task), however that seems like a fairly hit and miss way to check..I mainly want to look at script tasks for study purposes.ThanksAndrew

 
Profile Email
 Quote
fitz
 11/28/2010 04:44PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Scripts typically have ".cl" file extensions, so you can just browse the system for .cl files. A more automated way is e.g.[code:1:867e625b84]% cd $iraf
% find . -name \*.cl -print -exec egrep -e ^task {} \; | egrep -e "\.cl"
[/code:1:867e625b84]and you'll get a list of all task declarations and the script source name.

 
Profile Email
 Quote
   
Content generated in: 0.09 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