How do I write a Unix filter/script which knows the path to my current document?

2013-04-14 Thread jh
I'd like to be able to run a filter on the document I'm working on. It should be quite simple, as in terminal-command /path/to/file but how do I send it the path? -- -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this

Re: How do I write a Unix filter/script which knows the path to my current document?

2013-04-14 Thread Neil Faiman
On Apr 14, 2013, at 8:55 PM, jh john.hor...@gmail.com wrote: I'd like to be able to run a filter on the document I'm working on. It should be quite simple, as in terminal-command /path/to/file but how do I send it the path? A filter doesn’t deal with documents at all. A Unix script used

Re: How do I write a Unix filter/script which knows the path to my current document?

2013-04-14 Thread jh
Thanks! Downloading the manual now. On Monday, April 15, 2013 11:20:41 AM UTC+10, Neil Faiman wrote: On Apr 14, 2013, at 8:55 PM, jh john@gmail.com javascript: wrote: I'd like to be able to run a filter on the document I'm working on. It should be quite simple, as in terminal-command

Re: How do I write a Unix filter/script which knows the path to my current document?

2013-04-14 Thread Christopher Stone
On Apr 14, 2013, at 19:55, jh john.hor...@gmail.com wrote: I'd like to be able to run a filter on the document I'm working on. --- #! /usr/bin/env bash sort $@;

Re: BBEdit RegEx Cheat-Sheet

2013-04-14 Thread Christopher Stone
On Apr 09, 2013, at 23:16, Christopher Stone listmeis...@suddenlink.net wrote: It might be cool to maintain this as a public GitHub Gist. I haven't fooled with Gist or the wiki, but I guess I need to learn yet another new thing...