vanity: Indent with spaces part 2

More risky since it affects the inside of strings.

Changed files
+7 -7
maintainers
scripts
+7 -7
maintainers/scripts/vanity.sh
···
sparql="$(nix-build '<nixpkgs>' -Q -A apache-jena --no-out-link)/bin/sparql"
name_list="$(
"$sparql" --results=TSV --data="$n3" "
-
select ?x ?y ?g where {
-
?x <my://can-be>+ ?y.
-
?x <my://is-name> ?g.
+
select ?x ?y ?g where {
+
?x <my://can-be>+ ?y.
+
?x <my://is-name> ?g.
}
-
" | tail -n +2 |
+
" | tail -n +2 |
sed -re 's@<my://name/@@g; s@<my://@@g; s@>@@g;' |
sort -k 2,3 -t ' '
)"
github_name_list="$(
"$sparql" --results=TSV --data="$n3" "
-
select ?x ?y where {
-
?x (<my://can-be>+ / <my://at-github>) ?y.
+
select ?x ?y where {
+
?x (<my://can-be>+ / <my://at-github>) ?y.
}
-
" | tail -n +2 |
+
" | tail -n +2 |
sed -re 's@<my://(name|github)/@@g; s@<my://@@g; s@>@@g;'
)"