Status: offline
Registered: 07/10/2007
Posts: 42
|
Is there and/or logic in IRAF and if so do you have any short examples of its use. I am trying to use it in a match command.i.e. match ("light" or "object", "datalist1", > "datalist2")Thanks,
Paul
|
Status: offline
Registered: 05/01/2007
Posts: 17
|
and is &&or is ||I just know this works on the tselect
Astronomy is life, Others, mere details
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
In the case of MATCH, and generally, you can't logically and/or params as in your example. To OR: run the task twice. To AND: pipe the results of one match into another, e.g.[code:1:3eb908694f]cl> match ("foo", "data") | match ("bar", "STDIN", .> "datalist2")[/code:1:3eb908694f]Otherwise it's up to the task whether things like this are supported directly.-Mike
|