From: Horacio Castellini Date: 2004-03-11T06:19:41+09:00 Subject: Novice question, tranlate awk code to ruby code Hi everyone: I'm a novice ruby user, but ancient user in Linux world. We assume have a data file with two data field in two columns. In awk program when I like time them a script code may be: { print $1*$2 } for example I can use "% cat foo.dat|awk -f times.awk" d'accorde. Well, how can I do this in ruby code? Thanks Horacio