Skip to content
Snippets Groups Projects
extract-iris.sh 146 B
Newer Older
  • Learn to ignore specific revisions
  • Andreas Schärtl's avatar
    Andreas Schärtl committed
    #! /bin/sh
    
    
    Andreas Schärtl's avatar
    Andreas Schärtl committed
    # Extract IRIs from rdf files passed on stdin. Actually just returns
    # all quoted strings.
    
    Andreas Schärtl's avatar
    Andreas Schärtl committed
    
    set -eu
    
    grep -P -o '".*"' | sed 's/"//g'