Install BBEdit command line tools for added power
Apr 08, '02 11:07:26PM
Contributed by: jcltech
If you have BBEdit 6.5.x, be sure to install the Unix Tools that are in the extras folder. You can then do the following:
- bbedit somefile.txt to open a file in BBEdit
- bbedit -c somefile.txt to open a new file with that name in BBEdit
- bbedit -w to open BBEdit and have it wait until you are done to send the contents back to the shell. You can then "EDITOR=bbedit -w" in your shell source.
- grep 'foo' bigfile.txt | bbedit to send the results of Unix commands to BBEdit
- many more - see man bbedit for details
Hope you find this useful as I have!
Comments (5)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020408230726690