Just trying to find a way to pipe a current variable to BBEdit.
Essentially I would like some output to go directly to BBEdit. This is
what I got so far:
res = Net::HTTP.post_form(uri, params)
cmd = %w{ res.body | bbedit}
result = IO.popen(cmd, ‘r+’) {|io|
io.puts pagestring
io.close_write
io.read
}