Hallo, any-ah body-ah home-ah?
Kevin O'Gorman
kogorman
Mon Jan 1 01:48:42 PST 2007
On 12/31/06, David Bandel <david.bandel at gmail.com> wrote:
> On 12/31/06, Ric Moore <wayward4now at gmail.com> wrote:
> > On Sun, 2006-12-31 at 05:46 -0800, Ken Moffat wrote:
> > > Ric Moore wrote:
> > > > Jeeeeezzzz am I the only one up?? <sigh> I really need a life. This
> > > > place is deserted!!!
> > > >
> > > >
> > >
> > > Was it really 1:16am when you wrote this?
> > Nope, it was around 5AM... time flies when you're having fun. Damn
> > startup script for the new beta version of Croquet must have been
> > written with DOS... the old linefeed / CR problem and I racked my brains
> > trying to remember what the utility is that strips them out of a file. I
> > still don't know. It's making me crazy.
>
> tr -d "\015" < dosformatted.txt > unixformatted.txt
>
> You don't really need an entire C utility.
>
> Ciao,
>
> David A. Bandel
Some systems have dos2unix. But it still fails to supply final
linefeeds, whose lack
causes some grief with some Unix programs (particularly nasty
treatment of .h files
in some versions of gcc).
Anyway...
Just another sleepless night here. I was doing okay until the local
idiots started
setting off cherry-bombs (loud fireworks) and such at midnight of the new year.
It will probably be some hours before this ancient body get sleepy again. This
interferes greatly in what little life I've been able to get lately. Sigh.
++ kevin
--
Kevin O'Gorman, PhD
More information about the Linux-users
mailing list