Source

shlomi-fish-homepage / bin / find_ascii_quotes.rb

Diff from to

bin/find_ascii_quotes.rb

             if elem.node_type == Nokogiri::XML::Node::TEXT_NODE
                 data = elem.value
                 lines = data.split(/\n/, -1);
-                
+
                 lines.each_with_index do |line, idx|
                     if (line =~ /"/) then
                         STDOUT.printf "%s:%d:%s\n", filename, elem.line()+idx, line