|
William W. Viergever wrote [in part]:
> and Jack Hamilton wrote in part]:
> >I'll let Karsten tell you how to do it with Perl.
>
> If not his Self, then stat-man David C.?
>
> (it's OK Dave, you got invited to)
Well, since you asked so politely...
you can strip those pesky carriage returns from Dan's data.txt file
*and* save the old file in a backup form like this:
perl -i.bak -lpe 's|\r$||' data.txt
Yes, there are some oddities scattered in there. But don't ask about
them in a SAS mailing list! :-)
Still, as has been pointed out, avoiding the problem in the first place
is the best solution!
David
--
David Cassell, OAO Corp. Cassell.David@epa.gov
Senior computing specialist
mathematical statistician
|