cg wrote: > Hi all, (Please give your full name in the from header.) > file = File.open("ordinal") > while file.gets > print if /third/ .. /fifth/ > end > With the following input file "ordinal" : > first > second > third > fourth > fifth > sixth > seventh > eighth > ninth On my computer it works with ruby1.6, but not with ruby1.8. -- Malte Milatz, konvinkita esperantisto kaj linuks-uzanto.