From: Dick Monahan Date: 2007-07-11T22:19:05+09:00 Subject: Re: Trying to get dynamic output in console "Michal Sza" wrote in message news:033840e271b07d6344e95506465cb536@ruby-forum.com... > Hello, > I have a little script that processes excel file and I would like the > script to output some sort of status either line or percent number as it > runs. > How can I output something to console always in the same spot, meaning > that I don't want start new line every time the script advances. > Something like this: > Progress: 51% - I want this number to change and stay in the same spot. for i in 1..10 do print "Progress #{i}% is done.\r" sleep 1 end