[K12OSN] creating accounts

Terrell Prudé, Jr. microman at cmosnetworks.com
Sat Oct 1 01:24:29 UTC 2005


You might try running the dos2unix command on it.  That's how I've
always gotten rid of the ^M's.

--TP

On Fri, 2005-09-30 at 15:38 -0700, NONE NONE wrote:

> 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....
> 
> ----- Original Message -----
> From: Les Mikesell <les at futuresource.com>
> Date: Friday, September 30, 2005 3:17 pm
> Subject: Re: [K12OSN] creating accounts
> 
> > On Fri, 2005-09-30 at 17:02, NONE NONE wrote:
> > 
> > > Now, I must be an idiot because the script doesn't work (though 
> > now the commands themselves, pasted individually, do!).
> > 
> > > groupadd grade1
> > > 
> > > + groupadd $'grade1\r'
> > >  is a not a valid group name
> > 
> > What did you use to edit the script?  That doesn't look like plain 
> > text.
> > -- 
> >  Les Mikesell
> >    les at futuresource.com
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <" target="l">http://www.k12os.org>
> > 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050930/91447586/attachment.htm>


More information about the K12OSN mailing list