Questions tagged [spplang]

The Subset Preprocessor Language (SPP) is a programming language designed to develop applications in the IRAF programming environment.

See https://www.mn.uio.no/astro/english/services/it/help/visualization/iraf/SPPManual.pdf for more information.

2 questions
0
votes
3 answers

How to implement awk using loop variables for the row?

I have a file with n rows and 4 columns, and I want to read the content of the 2nd and 3rd columns, row by row. I made this awk 'NR == 2 {print $2" "$3}' coords.txt which works for the second row, for example. However, I'd like to include that code…
Pablo
  • 87
  • 5
0
votes
2 answers

How to refer to string content when using ls

I'm working with IRAF, based on SPP, kind of a mix between Fortran and C. I'm looking for a way of referring to a string content when using ls. For example, I can type ls *hola* if I want to list every file containing the word hola in my directory.…
Pablo
  • 87
  • 5