Welcome to iraf.net Thursday, May 02 2024 @ 02:37 AM GMT
AndrewS |
11/28/2010 04:44PM (Read 1138 times)
|
|
|
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
|
|
|
|
fitz |
11/28/2010 04:44PM
|
|
|
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.
|
|
|
|
| |
|
Content generated in: 0.09 seconds |
|