I just found out that if I remove "set -o posix" from my .bashrc file
(actually, from the bit of it that was generated by dotfile some time
ago), I don't get these annoying error messages anymore.  I guess this
(from info bash) can explain the problem:

 15. Function names must be valid shell `name's.  That is, they may not
     contain characters other than letters, digits, and underscores, and
     may not start with a digit.  Declaring a function with an invalid
     name causes a fatal syntax error in non-interactive shells.

I therefore suggest renaming the functions to only use underscores and
no dashes.

Roland.
-- 
Roland Mas

Lord of the rings?  Show us.
European Juggling Convention -- Svendborg, Denmark.  http://ejc2003.dk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to