<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
You might try running the dos2unix command on it.  That's how I've always gotten rid of the ^M's.<BR>
<BR>
--TP<BR>
<BR>
On Fri, 2005-09-30 at 15:38 -0700, NONE NONE wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Ugh... So the new line chars are wrong I guess... Is there a simple way to fix that? I opened the test script in emacs and saw a bunch of ^M on the ends of the lines... I deleted them and saved, and then it ran fine. But now the main file won't run and emacs isn't showing ^M anymore....</FONT>

<FONT COLOR="#000000">----- Original Message -----</FONT>
<FONT COLOR="#000000">From: Les Mikesell <<A HREF="mailto:les@futuresource.com">les@futuresource.com</A>></FONT>
<FONT COLOR="#000000">Date: Friday, September 30, 2005 3:17 pm</FONT>
<FONT COLOR="#000000">Subject: Re: [K12OSN] creating accounts</FONT>

<FONT COLOR="#000000">> On Fri, 2005-09-30 at 17:02, NONE NONE wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> > Now, I must be an idiot because the script doesn't work (though </FONT>
<FONT COLOR="#000000">> now the commands themselves, pasted individually, do!).</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> > groupadd grade1</FONT>
<FONT COLOR="#000000">> > </FONT>
<FONT COLOR="#000000">> > + groupadd $'grade1\r'</FONT>
<FONT COLOR="#000000">> >  is a not a valid group name</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> What did you use to edit the script?  That doesn't look like plain </FONT>
<FONT COLOR="#000000">> text.</FONT>
<FONT COLOR="#000000">> -- </FONT>
<FONT COLOR="#000000">>  Les Mikesell</FONT>
<FONT COLOR="#000000">>    <A HREF="mailto:les@futuresource.com">les@futuresource.com</A></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> K12OSN mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:K12OSN@redhat.com">K12OSN@redhat.com</A></FONT>
<FONT COLOR="#000000">> <A HREF="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</A></FONT>
<FONT COLOR="#000000">> For more info see <" target="l"><A HREF="http://www.k12os.org">http://www.k12os.org</A>></FONT>
<FONT COLOR="#000000">> </FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">K12OSN mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:K12OSN@redhat.com">K12OSN@redhat.com</A></FONT>
<FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</A></FONT>
<FONT COLOR="#000000">For more info see <<A HREF="http://www.k12os.org">http://www.k12os.org</A>></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>