• 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: Counting Identical lines in a file with BBEdit & Grep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting Identical lines in a file with BBEdit & Grep


  • Subject: Re: Counting Identical lines in a file with BBEdit & Grep
  • From: kai <email@hidden>
  • Date: Mon, 28 Jul 2003 21:03:57 +0100

on Mon, 28 Jul 2003 20:23:01 +0100, some pea-brain wrote:

> Firstly, line 4 of the handler <set l to l's text items 1 thru -2> should
> work just as well without the '1 thru -2' ending. (That way, it doesn't
> matter if the final line of the original text includes a return character or
> not.)

Gah! That's nonsense, of course. The '1 thru -2' ending *is* needed if the
original text ends with a return character - otherwise an empty line is
counted and included.

---
kai
_______________________________________________
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.

  • Prev by Date: Re: Counting Identical lines in a file with BBEdit & Grep
  • Next by Date: Mail Scripting GUI
  • Previous by thread: Re: Counting Identical lines in a file with BBEdit & Grep
  • Next by thread: Re: Counting Identical lines in a file with BBEdit & Grep
  • Index(es):
    • Date
    • Thread