From: Martin DeMello Date: 2003-12-01T20:57:08+09:00 Subject: Re: anything disappearing from Ruby for 2.0? David Garamond wrote: > > I find the ability to write one-liners _amazingly_ useful. Perhaps you > don't use shell/command-line interface much. But many, many Unix/Linux > users do most of their stuffs in shell daily. And using a combination of > Unix commands sometimes are just not powerful/easy/portable enough. I > use Perl & Ruby one-liners for all things, from renaming a bunch of > files according to some string/regex operation (e.g. changing all > ".tar.gz" to ".tgz"), manipulating file contents (e.g. neutralizing > "evil" HTML pages), downloading recursively but with some complex rules > that wget can't do, etc. Sorry to harp on about this, but given the number of people chiming in in support of one-liners, I really don't understand the general indifference/antipathy to RCR #164. I know there are ways to hack it using a wrapper around the ruby interpreter, but then, there are ways to hack most things. martin