hipster wrote: > > quick hack, call this script something like `lruby': > > ------ > > #!/usr/bin/ruby -w > > MARK = ">" > > script = File.open(ARGV.shift).readlines > script.each{ |line| > if line !~ /^#{MARK}/ > line.sub!(/^/, "# ") # comment out documentation > else > line.sub!(/^#{MARK}/, "") # unmark code > end > } > > eval script.to_s # run it > Michel, that works nicely, thanks. -- Mark