Hi Paul, > I have this odd behaviour when I run minclookup to extract labels passed as > a for loop variable (actually the variable is label_no). > > echo minclookup -discrete -lut_string "'$label_no $label_no'" Without testing, I think you just want this: minclookup -discrete -lut_string "$label_no $label_no" ... in your shell script. a