From: Reid Thompson Date: 2009-03-06T12:36:08+09:00 Subject: Re: add a new line after, w/txtfile thats comma delimited Mmcolli00 Mom wrote: > Reid is that for rake only? I don't understand your question. $ ruby -pe 'gsub(/,/, "\n")' file*.txt The above can be executed from the command line, from a shell script, from a `backtic` command, or a system command, etc... Is that what you are asking? btw see http://www.fepus.net/ruby1line.txt analogous to google search for sed one liners perl one liners python one liners lang of choice one liners