Re: Counting Identical lines in a file with BBEdit & Grep
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.