From: Kyle Rawlins Date: 2002-07-27T03:55:11+09:00 Subject: Re: Some basic Ruby questions --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 27, 2002 at 03:47:15AM +0900, Yukihiro Matsumoto wrote: > def pictureMethod > open("|ls | grep \"jpg\"").readlines > end or even something like def pictureMethod `ls -1 --color=3Dnever *jpg*`.split("\n") end --=20 http://mas.cs.umass.edu/~rawlins -- I used to know the answer to that one, before I ate so many preservatives... (Zippy) --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9QZsMncsSsHSBypARAshyAKCbJ7buW97PY+5b7QbUGdejCVvOnACdGQl0 CYmSmRHEXceqofER3hBOU38= =rmzZ -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--