• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cleaning ^Z out of files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleaning ^Z out of files


  • Subject: Re: cleaning ^Z out of files
  • From: "J. Stewart" <email@hidden>
  • Date: Thu, 25 Jan 2007 18:21:21 -0500

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:
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>)

  • Prev by Date: Re: add users remotely
  • Next by Date: Re: Where does Mail store deleted messages?
  • Previous by thread: cleaning ^Z out of files
  • Next by thread: Where does Mail store deleted messages?
  • Index(es):
    • Date
    • Thread