Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'zeorge finally :) a super script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
zeorge finally :) a super script
Authored by: mysty on Sep 10, '04 03:39:05PM

Thanks for all these tips

In trying to get this going (10.3 with bash) I made a .bashrc with

. ~/scripts/termcolours.pl

as the first line and did the chmod+x on the above .pl file. Now when I launch a new Terminal window I get

-bash: /Users/me/scripts/termcolours.pl: line 5: syntax error near unexpected token `('
-bash: /Users/mye/scripts/termcolours.pl: line 5: ` @color_table = ( "0.200 0.000 0.000","0.000 0.200 0.000","0.000 0.000 0.200" );'

I think I got perl581 going on (according to Fink at least), so I cant get why Im getting this error.
Any ideas are most welcome. The wierd thing is that I am getting a similar error on line 5 of tim1724's script below as well...

As well as this wierd new .bashrc.swp file, and this console msg:

2004-09-10 19:19:01.779 Safari[2097] (goo, "bashrc.swp")

wtf?! goo?!? *boggle*

I havent relaunched Terminal yet as I was fink updating nmap and it wanted me to reinstall xfree86-base again (......)

TIA for your thoughts



[ Reply to This | # ]