Hi Greg, re: > We are moving from a Solaris system to a Linux where we are running > McIDAS stuff. I'm still using that script you helped me to build 2 > years ago to produce gif images of GOES data. In this script I'm doing > some labelling with the ZA and FRMLABEL commands. These worked fine on > Solaris but I'm geting an error from these now in Linux. I would imagine that the difference is in the implementation of the shell that you are using. I see differences using 'sh' on Linux since it is actually 'bash'. > Here's the line that is causing trouble: > > $za_out = `za.k 7 10 LC "\\\"$title`; Why do you have two shifted quotes? The ZA syntax in McIDAS is: ZA color height justify <keywords> "text Note the single shifted quote mark. > this line in the script generates an error message: > > sh: -c: line 0: unexpected EOF while looking for matching `"' > sh: -c: line 1: syntax error: unexpected end of file Yup, the 'sh' scanner ('bash') is complaining about the second shifted quote. > I get a similar message for the FRMLABEL command. > > Any suggestions? Remove the first shifted quote mark and then evaluate if you need the tripple backslashes to escape the second one. I am just heading out the door. I won't be in touch until after 7 pm tonight. Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: BCP-600859 Department: Support McIDAS Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.