On May 24, 2010, at 4:02 PM, Nik wrote:

> I set up a short script to turn BBEdit into my $EDITOR in the
> terminal. I can use this for simple edits (e.g. "edit foo" opens up
> the "foo" document), but when I use it on crontab (crontab -e), I get
> the error "crontab: temp file must be edited in place".
> 
> Thoughts?


man bbedit

At the bottom it notes:

Some tools (notably crontab), will not work correctly if your EDITOR variable 
consists of multiple terms. You can work around this by creating a simple shell 
script that calls bbedit -w, then using the shell script as your EDITOR. For 
example:

    #!/bin/sh
    bbedit -w "$@"


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.

Reply via email to