repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git]
/
pkgs
/
by-name
/
dn
/
dns-root-data
/
update-root-key.sh
blob
9a3141aef1973efe46bbb98d91b7afbaa042ed84
1
#!/usr/bin/env nix-shell
2
#!nix-shell -i bash -p busybox unbound
3
4
TMP
=
`mktemp`
5
unbound-anchor
-a
"
$TMP
"
6
grep
-Ev
"^($$|;)"
"
$TMP
"
|
sed
-e
's/ ;;.*//'
>
root.key
7
8
unbound-anchor
-F -a
"
$TMP
"
9
sed
'/^;/d'
<
"
$TMP
"
>
root.ds
10
rm
$TMP