Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleaning ^Z out of files



On 1/25/07 at -0500 Jaime Magiera said this

>Anyone have any thoughts on how I can clearn ^Z out of text file?
>
>I have a user who moved a bunch Fortran code files off a Solaris box  
>and onto a Mac. The Mac Fortran compiler is throwing errors because  
>of the ^Z.
>
>I've tried different ways of capturing it, but everything seems to fail.


Assuming they are text files, look into the shell command 'tr', this is exactly the kind of thing it's made for.

"man tr" in terminal

JBS
-- 
Whatever happened to Preparations A through G? - George Carlin
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >cleaning ^Z out of files (From: Jaime Magiera <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.