diff options
author | Victor Engmark <vengmark@linz.govt.nz> | 2021-11-18 10:53:29 +1300 |
---|---|---|
committer | Victor Engmark <vengmark@linz.govt.nz> | 2021-11-18 10:53:29 +1300 |
commit | cd838da194ca8aa795c732e330f7634d057da05b (patch) | |
tree | ba88d5751caa6f2f6c0df864d5f40c30f395e8e7 /maintainers/scripts/vanity.sh | |
parent | 57b496ea98bdbd633c48f16af1c69a196aaf963a (diff) | |
download | nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar.gz nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar.bz2 nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar.lz nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar.xz nixlib-cd838da194ca8aa795c732e330f7634d057da05b.tar.zst nixlib-cd838da194ca8aa795c732e330f7634d057da05b.zip |
vanity: Indent with spaces part 2
More risky since it affects the inside of strings.
Diffstat (limited to 'maintainers/scripts/vanity.sh')
-rwxr-xr-x | maintainers/scripts/vanity.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/maintainers/scripts/vanity.sh b/maintainers/scripts/vanity.sh index a6e82e039422..b879488165df 100755 --- a/maintainers/scripts/vanity.sh +++ b/maintainers/scripts/vanity.sh @@ -76,20 +76,20 @@ echo "$maintainers" | cut -f 2 | sed -e 's@.*@<my://name/&> <my://is-name> <my:/ 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;' )" |