From: darren kirby Date: 2006-06-20T04:37:34+09:00 Subject: Re: How to do this debugging? --nextPart1525829.JeYBEP3vSB Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline quoth the Philip Rhoades: > People, > > I usually pipe my data file through my ruby script with: > > cat parsefile | t1.rb > > but some obscure problems have been tricky to find - if I use: > > ruby -r debug t1.rb > > - how do I pipe the parsefile in ? Doesn't this work?: ruby -r debug t1.rb < parsefile > Thanks, > > Phil. =2Dd =2D-=20 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." =2D Dennis Ritchie and Ken Thompson, June 1972 --nextPart1525829.JeYBEP3vSB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBElvzdwPD5Cr/3CJgRAlMDAKCnk2yvYyRN02r14Jf06ZnWTWu97QCg9QQJ xKd3Kzdcve96OpCgGofB9sc= =q0Jo -----END PGP SIGNATURE----- --nextPart1525829.JeYBEP3vSB--