[MINC-users] Tag file

Andrew Janke a.janke at gmail.com
Sat Sep 15 17:50:25 EDT 2007


On 9/16/07, Lars Nygard <lnygard at yahoo.com> wrote:
> >> If you edited it, did you perhaps edit it on a windows machine and now
> >>you have a DOS format text file?
> Yes Im running cygwin so when I edit files I use wordpad.
> Ive calculated some landmarks that I want to load
> in register but I get an error. Ive managed to surround it by manually
> entering the coordinates but it would be easier to load the file.

Okie doke,

You will have to convert the file back to unix format.  Use something like this:

   $ tr -d \r < tagfile.tag > fixed_tags.tag

If you are editing these files routinely under windows I would suggest
using something like cream:

   http://cream.sourceforge.net/

It is a (very) user friendly version of vim that wont
"DOS'erise/Windows'erise" your text files.



-- 
Andrew Janke   (a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883


More information about the MINC-users mailing list