From: Todd Holloway Date: 2002-07-03T01:34:07+09:00 Subject: grep regex to ruby regex... I'm just about to finish up my first ruby program, but I'm stuck on one last part...I need equivlent of the below in ruby: grep -v "^[[:space:]]*#" filename | grep -v '^[[:space:]]*$' thanks in advance! I will send out final program once it's done. todd -- "This UI has been brought to you by the letters 'S' and 'K', and the runlevel 3." - Greg Andrews