/bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier

Brandon Allbery allbery.b at gmail.com
Thu Oct 9 13:51:35 PDT 2014


On Thu, Oct 9, 2014 at 4:46 PM, Barrie Stott <zen146410 at zen.co.uk> wrote:
>
> On 9 Oct 2014, at 21:10, Brandon Allbery wrote:
> > On Thu, Oct 9, 2014 at 4:06 PM, Barrie Stott <zen146410 at zen.co.uk>
> wrote:
> > function ttr()
> >
> > You should use wither "ttr()" or "function ttr", not both. It's
> replacing () with %% and then tripping over it later (possibly it accepts
> it when defined for some reason, but it still knows it's illegal).
> >
> I've replaced functions like "function asdf() ..." by "function asdf ..."
> throughout, run ". ~/.bashrc" but typing "mvim" continues to give the
> error. Also all the old versions of the functions have been present for
> well over 6 months so I reckon something else is involved.
>

You would also need to log out and back in, since the point is these were
generated by already running shells and are now in your environment. (type
"env | grep BASH_FUNC").

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141009/11b61427/attachment.html>


More information about the macports-users mailing list