varnames [ parameter=value ] [ inputfile ]
Parameter is: include_vars.
varnames lists all dataset variables matching the include_vars parameter. varnames outputs this list to UNIX stdout, so it can be captured in shell variables as part of a shell script.
List all variables in the dataset $FILE with names starting with 'avhrr' and store in the vector-valued C-shell variable $VARS:
set VARS = ( `varnames include_vars='avhrr*' $FILE` )
Note that the wildcard expression 'avhrr*' is quoted to avoid expansion by the shell.
Last Update: $Date: 1999/05/10 20:46:54 $