<div dir="ltr">I wouldn't put the g2ctl code into a RTF file. Just paste it into an ordinary text file and run that and you should not have any problems.<div><br></div><div>Jeff Duda</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 6:55 PM, Ethan Sacoransky <span dir="ltr"><<a href="mailto:ethansmith0898@gmail.com" target="_blank">ethansmith0898@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><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><div class="h5">
<div>On 2014-02-11, at 7:39 PM, Perry, Aaron @ LSC wrote:</div><br></div></div><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word">
<div><div class="h5"><div style="direction:ltr;font-size:10pt;font-family:Tahoma">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"><font><br>Onward and Upward,<br>
<br></font>Aaron D. Perry<br></font><font size="3"><font size="3"><font face="Tahoma">Boston, MA<br>Lyndon State College '16<br>Twitter:<span> </span><a href="https://twitter.com/AaronPerryLSC" target="_blank">@AaronPerryLSC</a><br>
</font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma">Mobile: 617-780-4312</font></font></font></font></font></div></div></div></div></div></div></div></div>
</div><div style="font-size:16px;font-family:'Times New Roman'"><hr><div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b><span> </span><a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a><span> </span>[<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] on behalf of Ethan Sacoransky [<a href="mailto:ethansmith0898@gmail.com" target="_blank">ethansmith0898@gmail.com</a>]<br>
<b>Sent:</b><span> </span>Tuesday, February 11, 2014 7:39 PM<br><b>To:</b><span> </span>GrADS Users Forum<br><b>Subject:</b><span> </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: <a href="ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl" target="_blank">ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl</a>. When i try to run the './g2ctl.rtf gfs_4_20140112_1200_009.grb2>gfs_4_20140112_1200_009.ctl' command I get these error messages. Any help would be really appreciated. </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></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></span></blockquote></div><br></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>