help with populating a table

my script works as expected, if the line delimiters are line feeds (ASCII 10)
You have probably carriage return (ASCII 13), then the grep command doesn’t work

PS:

this should work regardless of the line delimiter


.
	set testType to do shell script "cat " & quoted form of theCurrentFile & " | tr  '\\r' '\\n' | grep 'Performed:'"
.

Tried that and I get this error:
The command exited with a non-zero status. (1)

GOT IT! Just had to remove the “:” after “Performed”

Weeee! Thanks for the help StefanK. The app is now complete. :slight_smile:

I’ve tested it successfully in AppleScript and AppleScript Studio (Leopard)