Dec 4, 2008

Unoctify --- Decode Octals in Text


#! /usr/bin/ruby
STDIN.sync = true
STDOUT.sync = true
buf = ''
while c = STDIN.read(1)
if buf.empty? and c == '\\'
buf << length ="=" buf =" ''" buf =" ''">

No comments: