>
>> No way, this is shell scripting, it can't be that easy.
>>
>> Seriously?
>
> I think I just heard a light bulb come on...
>
And then it immediately went out again.
set pathName to alias "Macintosh HD:Users:edstockly:Desktop:Sep-14 Mon
Daily TV Grid:FriForMonSurfProofLogs-09-14-09:0914_MON.TXT"
set pathName to quoted form of POSIX path of pathName
do shell script "tr '\\r' '\\n' " & pathName & " | grep " & quoted
form of "TRAV"
Fail.
Fails with this error message.
usage: tr [-Ccsu] string1 string2
tr [-Ccu] -d string1
tr [-Ccu] -s string1
tr [-Ccu] -ds string1 string2
es