On Sat, Mar 8, 2008 at 7:48 PM, Bill Hernandez <
ms@mac-specialist.com> wrote:
On Mar 8, 2008, at 1:35 AM, paul beard wrote:
> and as a hint, if you install BBedit's command line tools, you can
> simply type "edit <filename>" instead of all that other stuff. Or use
> TextWrangler, for those who are short of coin. It has the same
> facility.
I included two very handy scripts for Leopard at the bottom, if you
don't like them, please ignore them.
"edit <filename>" didn't work for me using a shell worksheet
port installed > ~/installed_ports.txt
edit ~/installed_ports.txt
-bash: line 4: edit: command not found
Did you install the command line tools when you installed BBEdit or TextWrangler?
[/Users/paul]:: edit -h
Usage: edit [-bcehlpuvVw] [+<line number>] ...
+<line number>
-b, --background
--clean
-c, --create
-e, --encoding <encoding>
-h, --help
-l, --launch
-p, --print
--resume
-t, --pipe-title
-u, --create-unix
-v, --version
--view-top
-V, --short-version
-w, --wait
--front-window
--new-window
--separate-windows
emacs is all very well if you learned it when you were of young and supple mind, but I am older than jkh and never did master emacs when I had the chance.
--
Paul Beard / www.paulbeard.org/
<paulbeard@gmail.com/paulbeard@gmail.com>