Skip to content

Instantly share code, notes, and snippets.

@kierdavis
Created July 30, 2012 00:04
Show Gist options
  • Save kierdavis/3202723 to your computer and use it in GitHub Desktop.
Save kierdavis/3202723 to your computer and use it in GitHub Desktop.
Sed command to remove context URIs from n-quads to make it n-triples
sed 's|<[^>]*> \.$|.|' input.nq > output.nt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment