in reply to Fibonacci numbers using regexes (threes are wild)

blokhead,

I tried to execute this on ActiveState Win32 v5.10.0 and received the following error message:

Can't find string terminator "'" anywhere before EOF at -e line 1. The filename, directory name, or volume label syntax is incorrect.

I copied the code exactly as written, there are 2 string terminators in the line of code.

Any suggestions?

Thanks

pmonk4ever

"No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."

Replies are listed 'Best First'.
Re^2: Fibonacci numbers using regexes (threes are wild)
by blokhead (Monsignor) on Dec 01, 2009 at 04:10 UTC
    I haven't used windows in about 10 years, but a voice in my head says that windows may not support single quotes for command-line arguments. Try using double quotes instead? In unix systems, double quotes will cause $variables to be interpolated so I used single quotes.

    blokhead

      Thanks, it works now, I keep forgetting about those pesky double quotes.

      30 was pretty fast for me, but 48 is taking a bit of time...

      pmonk4ever

      "No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."