What's with -F in 1.8?

Hello,

/usr/src/ruby-1.6.8$ ./ruby -v
ruby 1.6.8 (2002-12-24) [i686-linux]
/usr/src/ruby-1.6.8$ ./ruby -F’[aeiou]+’ -wane ‘p $F’
Hello, this is just a little test. Don’t panic.
[“H”, “ll”, “, th”, "s ", “s j”, “st “, " l”, “ttl”, " t”, “st. D”, “n’t p”, “n”, “c.\n”]
-e:1: Interrupt
/usr/src/ruby-1.6.8$ /usr/bin/ruby -v
ruby 1.8.0 (2003-07-24) [i686-linux]
/usr/src/ruby-1.6.8$ /usr/bin/ruby -F’[aeiou]+’ -wane 'p $F’
Hello, this is just a little test. Don’t panic.
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
[“Hello, this is just a little test. Don’t panic.\n”]
I think it wants to split on a literal [aeiou]+, right?
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
["I think it wants to split on a literal ", “, right?\n”]

What gives? Why don’t Ruby 1.8 use a regex with -F?

Jason Creighton

Hi,

···

In message “What’s with -F in 1.8?” on 03/07/30, Jason Creighton androflux@softhome.net.remove.to.reply writes:

ruby 1.8.0 (2003-07-24) [i686-linux]
/usr/src/ruby-1.6.8$ /usr/bin/ruby -F’[aeiou]+’ -wane ‘p $F’
Hello, this is just a little test. Don’t panic.
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
[“Hello, this is just a little test. Don’t panic.\n”]
I think it wants to split on a literal [aeiou]+, right?
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
["I think it wants to split on a literal ", “, right?\n”]

What gives? Why don’t Ruby 1.8 use a regex with -F?

It’s a bug. Thank you for finding it before 1.8.0 final.

						matz.

This is liable to be a controversial comment, but I’m beginning to think
it may be prudent to delay the release of 1.8.0 by a few weeks.

I’ve been using the 1.8.0 snapshots for many months and I’m very pleased
with the new version. However, the last couple of preview releases have
had serious problems. Tk stopped working, command-line options broke and
a few other serious bugs have been found.

It strikes me that these are not the kind of bugs that should be
coming to light with only a few days left until the official release.
Small, obscure bugs that occur only in rare circumstances, yes, but not
obvious, fundamental bugs that cause whole categories of programs to
fail.

Ruby is getting more and more attention these days and we can expect the
release of 1.8.0 to generate quite a bit of publicity and attract a slew
of new users to the language. First impressions count for a lot and so
it would be a real shame if new users were in any way led to conclude
that Ruby is unstable or not ready for prime time.

So, rather than release 1.8.0 to the masses within the next few days,
would it not be better to institute a code freeze and wait for things to
stabilise as the bug reports become fewer and fewer over the next few
weeks?

It seems to me that these few weeks could make all the difference
between a good release and a terrific release. We’ve waited this long
for 1.8.0; perhaps we should wait just a little bit longer…

Ian

···

On Wed 30 Jul 2003 at 15:43:15 +0900, Yukihiro Matsumoto wrote:

What gives? Why don’t Ruby 1.8 use a regex with -F?

It’s a bug. Thank you for finding it before 1.8.0 final.


Ian Macdonald | Robot, n.: University administrator.
System Administrator |
ian@caliban.org |
http://www.caliban.org |
>

Hi,

I’ve been using the 1.8.0 snapshots for many months and I’m very pleased
with the new version. However, the last couple of preview releases have
had serious problems. Tk stopped working, command-line options broke and
a few other serious bugs have been found.

If you mean ‘-F’ by “broken command line”, it has been stayed there
for months (since a year ago).

I think Tk maintainer fixed Tk bug already.

It strikes me that these are not the kind of bugs that should be
coming to light with only a few days left until the official release.
Small, obscure bugs that occur only in rare circumstances, yes, but not
obvious, fundamental bugs that cause whole categories of programs to
fail.

I understand your point. Due to recent changes, I postpone the release
date for a several days, but not weeks.

Here’s my new roadmap.

2003-07-31 8am UTC preview6
2003-08-01 8am UTC preview7
2003-08-04 8am UTC the release

Can you help us, guys?

						matz.
···

In message “delay release of 1.8.0 (was: Re: What’s with -F in 1.8?)” on 03/07/31, Ian Macdonald ian@caliban.org writes:

Yukihiro Matsumoto wrote:

Here’s my new roadmap.

2003-07-31 8am UTC preview6
2003-08-01 8am UTC preview7
2003-08-04 8am UTC the release

Can you help us, guys?

Are there Windows binary versions of the 1.8.0 previews?

My current version (using the prag prog installer) is dated 2003-05-26. I’d love to try my code against the newer previews.

Harry O.

If you have anything specific that you need tested, let me know. I’m
already using CVS ruby for development, and have found it very stable
and predictable. If you need someone to write formal tests, document
stuff, or whatever else needs doing, I’d be happy to help.

···

On Thursday, Jul 31, 2003, at 00:17 America/Denver, Yukihiro Matsumoto wrote:

Can you help us, guys?


Michael Granger ged@FaerieMUD.org
Rubymage, Believer, Architect
The FaerieMUD Consortium http://www.FaerieMUD.org/

See http://www.dm4lab.to/~usa/ruby/index_en.html. There’s compiled
preview5. Try not to tease bandwidth, please.

						matz.
···

In message “Re: delay release of 1.8.0” on 03/07/31, Harry Ohlsen harryo@qiqsolutions.com writes:

Are there Windows binary versions of the 1.8.0 previews?

My current version (using the prag prog installer) is dated 2003-05-26. I’d love to try my code against the newer previews.

Yukihiro Matsumoto wrote:

See http://www.dm4lab.to/~usa/ruby/index_en.html. There’s compiled
preview5. Try not to tease bandwidth, please.

Thanks. After I sent that mail, I realised that I installed VC++ a while back, so I’m building from source right now.

I’ll let that finish, rather than using up your bandwidth.

Harry O.

find it mirrored here:

If you like i add the whole site to the mirror.

buggs

···

On Thu, Jul 31, 2003 at 03:29:56PM +0900, Yukihiro Matsumoto wrote:

In message “Re: delay release of 1.8.0” > on 03/07/31, Harry Ohlsen harryo@qiqsolutions.com writes:

Are there Windows binary versions of the 1.8.0 previews?

My current version (using the prag prog installer) is dated 2003-05-26. I’d love to try my code against the newer previews.

See http://www.dm4lab.to/~usa/ruby/index_en.html. There’s compiled
preview5. Try not to tease bandwidth, please.


Wilfried Grommen, Strategie-Chef für Microsoft EMEA, Juli 2003:
“Die Welt besteht nicht nur aus Open Source und Linux.
Das müssen wir wohl erstmal klarstellen.”