[TextMate] Q: Running a periodic shell script automatically

Chilcote, Joe Joe.Chilcote at nordstrom.com
Fri Oct 8 00:12:38 UTC 2004


>Given that TextMate is pretty good at piping output from shell 
>commands, would it not be possible to automagically generate a running 
>"TODO" list in a file using a command similar to this...?

 > `grep -r FIXME /Users/USERNAME/Sites/FooProject/`

Merlin:

You could pipe it to an external file. In the Filter Through Command window, choose "Document" and set it to "Show as tooltip" so it's non destructive to your current file, and run:

grep -r FIXME >~/project/TODO; open -a /Applications/TextMate.app ~/project/TODO

It will auto-generate and pop open for ya.

Regards,

Joe



More information about the textmate mailing list