<html><head><base href="x-msg://327/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hey Aaron. Thanks so much for the reply.</div>I am using a Mac OSX 10.7.5. Tried changing the file extension to .pl and got the same error.<div>Ethan</div><div><br><div><div>On 2014-02-11, at 7:39 PM, Perry, Aaron @ LSC wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div ocsi="0" fpstyle="1" style="word-wrap: break-word; "><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">Hi Ethan,<br><br>What OS are you using? If you're using a Linux system, save it with the .pl file extension. The issue is probably because it's trying to read a Perl script that's saved in a .rtf word document file format.<br><div><br><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><div style="font-family: Tahoma; font-size: 13px; "><font size="3"><font face="Arial"><font face="Tahoma" size="2"><font size="2"><br>Onward and Upward,<br><br></font>Aaron D. Perry<br></font><font size="3"><font size="3"><font face="Tahoma" size="2">Boston, MA<br>Lyndon State College '16<br>Twitter:<span class="Apple-converted-space">&nbsp;</span><a href="https://twitter.com/AaronPerryLSC">@AaronPerryLSC</a><br></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2">Mobile: 617-780-4312</font></font></font></font></font></div></div></div></div></div></div></div></div></div><div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 16px; "><hr tabindex="-1"><div id="divRpF300796" style="direction: ltr; "><font color="#000000" face="Tahoma" size="2"><b>From:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a><span class="Apple-converted-space">&nbsp;</span>[<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] on behalf of Ethan Sacoransky [<a href="mailto:ethansmith0898@gmail.com">ethansmith0898@gmail.com</a>]<br><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Tuesday, February 11, 2014 7:39 PM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>GrADS Users Forum<br><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>[gradsusr] g2ctl command<br></font><br></div><div></div><div>Good evening everyone,<div><br><div><div>Trying to generate a control file using g2ctl which i have in a rich text format file from this link:&nbsp;<a href="ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl" target="_blank">ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl</a>. &nbsp;When i try to run the './g2ctl.rtf gfs_4_20140112_1200_009.grb2&gt;gfs_4_20140112_1200_009.ctl' command I get these error messages. Any help would be really appreciated.&nbsp;</div><div><br></div><div><div>./g2ctl.rtf: line 1: {rtf1ansiansicpg1252cocoartf1138cocoasubrtf510: command not found</div><div>./g2ctl.rtf: line 2: syntax error near unexpected token `}'</div><div>./g2ctl.rtf: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'</div></div><div><br></div><div>Thanks so much,</div><div>ES</div></div></div></div></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></span></blockquote></div><br></div></body></html>