mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
rename rfc/index.md to txt, it isn't markdown
This commit is contained in:
parent
a93dd348fe
commit
52e71167a9
2 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
for number in $(sed -n 's/^\([0-9][0-9]*\)[ \t].*$/\1/p' index.md); do
|
for number in $(sed -n 's/^\([0-9][0-9]*\)[ \t].*$/\1/p' index.txt); do
|
||||||
if ! test -f "$number"; then
|
if ! test -f "$number"; then
|
||||||
curl https://www.rfc-editor.org/rfc/rfc$number.txt >$number || rm $number
|
curl https://www.rfc-editor.org/rfc/rfc$number.txt >$number || rm $number
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for name in $(sed -n 's/^\([0-9][0-9]*-eid[0-9][0-9]*\)[ \t].*$/\1/p' index.md); do
|
for name in $(sed -n 's/^\([0-9][0-9]*-eid[0-9][0-9]*\)[ \t].*$/\1/p' index.txt); do
|
||||||
if ! test -f "$name"; then
|
if ! test -f "$name"; then
|
||||||
rfc=$(echo $name | cut -f1 -d-)
|
rfc=$(echo $name | cut -f1 -d-)
|
||||||
eid=$(echo $name | cut -f2 -d-)
|
eid=$(echo $name | cut -f2 -d-)
|
||||||
|
|
Loading…
Reference in a new issue