Skip to content

Instantly share code, notes, and snippets.

@avdi
Created August 1, 2013 14:23
Show Gist options
  • Save avdi/6131832 to your computer and use it in GitHub Desktop.
Save avdi/6131832 to your computer and use it in GitHub Desktop.
Open3.pipeline_r(
%W[xmllint --xinclude --xmlout #{spine_file}],
# In order to clean up extraneous namespace declarations we need a second
# xmllint process
%W[xmllint --format --nsclean --xmlout -]) do |output, wait_thr|
open(codex_file, 'w') do |f|
IO.copy_stream(output, f)
end
end
@bf4
Copy link

bf4 commented Aug 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment