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


my script | 37 comments | Create New Account
Click here to return to the 'my script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
my script
Authored by: mysty on Sep 10, '04 03:48:13PM
Again (as described in reply to zeorge's post above, 10.3 & bash) I get the following error for a new Terminal window:

-bash: /Users/me/scripts/termcolours2.pl: line 5: syntax error near unexpected token `$min_h,$max_h'
-bash: /Users/me/scripts/termcolours2.pl: line 5: `my  ($min_h,$max_h) =  ( 0,    360   );   # hue        (0-360)'
is it my perl all skew-wiffied?


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        RC3
  Built under darwin
  Compiled at Sep 12 2003 19:50:49
  %ENV:
    PERL5LIB="/sw/lib/perl5"
  @INC:
    /sw/lib/perl5
    /System/Library/Perl/5.8.1/darwin-thread-multi-2level
    /System/Library/Perl/5.8.1
    /Library/Perl/5.8.1/darwin-thread-multi-2level
    /Library/Perl/5.8.1
    /Library/Perl
    /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
    /Network/Library/Perl/5.8.1
    /Network/Library/Perl
TIA and for the script

[ Reply to This | # ]
my script
Authored by: tim1724 on Sep 14, '04 03:11:51PM

My guess is that copying & pasting the script messed it up somehow.

Try downloading it from my website.

---
Tim Buchheim

[ Reply to This | # ]

my script
Authored by: sweyhrich on Oct 14, '04 06:40:27PM

What exactly is the command to put in .bashrc in order to execute the perl script? I've tried various things, and each time I open a new terminal window, I still get the same colors as it was before.

---
Steven Weyhrich
http://apple2history.org



[ Reply to This | # ]