diff options
Diffstat (limited to 'other/ruby-hpricot.rb')
-rwxr-xr-x | other/ruby-hpricot.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/other/ruby-hpricot.rb b/other/ruby-hpricot.rb new file mode 100755 index 0000000..4f47b93 --- /dev/null +++ b/other/ruby-hpricot.rb @@ -0,0 +1,7 @@ +#!/usr/bin/ruby -w +require 'hpricot' + +xml = File.read(ARGV[0]) +doc = Hpricot(xml) +puts doc + |