[MINC-users] Removing carriage returns from Display tag files (made on a pc)
Jonathan HARLAP
jharlap at bic.mni.mcgill.ca
Wed Aug 24 15:35:21 EDT 2005
The command you're looking for is dos2unix. If it
don't exist on your system, you can make your own easily enough:
sed 's/\r//g' < dosfile > unixfile
Cheers,
J
On Wed, Aug 24, 2005 at 02:55:03PM -0400, Dylan David Wagner wrote:
> Hey,
>
> I've been using the Display build for windows to make some tag
> files only to notice that tagtominc and the unix version of display
> reject the tag file ie: input_tag_points() invalid header in file.
>
> Comparing tag files made with the unix display and that made with
> windows the only difference I see is that the windows tag file seems to
> have carriage returns (or line feeds?) at the end of every line.
>
> I'm assuming this pc<->unix issue is common enough, anyone have a
> script or hack to fix this?
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
More information about the MINC-users
mailing list