• 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
Reversing the lines in a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reversing the lines in a file


  • Subject: Reversing the lines in a file
  • From: "Rice, Gary" <email@hidden>
  • Date: Thu, 9 May 2002 19:29:18 -0400

I have a text file. Each line in the file ends with a <CR>. It is a large
file. I want to reverse the order of the file. That is, I want the last line
in the file to appear at the begining and the first line in the file to be
at the end.

Can I do this using AppleScript?


Thanks.


Gary
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Reversing the lines in a file
      • From: Paul Skinner <email@hidden>
    • Re: Reversing the lines in a file
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Text Manipulation
  • Next by Date: Scripting OmniGraffle
  • Previous by thread: Stupid questions: \' & lazy parameter passing
  • Next by thread: Re: Reversing the lines in a file
  • Index(es):
    • Date
    • Thread