Add RFC8314_-_Cleartext_Considered_Obsolete
parent
faf6134a19
commit
f944a8d9cf
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -51,6 +51,12 @@ if [ -z "$rfc" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# add `rfc` prefix if it's missing
|
||||
case "$rfc" in
|
||||
*rfc*) ;;
|
||||
*RFC*) ;;
|
||||
*) rfc=rfc"$rfc" ;;
|
||||
esac
|
||||
|
||||
#wget "https://www.rfc-editor.org/info/$rfc"
|
||||
#https://www.rfc-editor.org/rfc/rfc9413.html#
|
||||
|
@ -62,7 +68,7 @@ title=$(curl -s -S "https://datatracker.ietf.org/doc/$rfc/bibtex/" | sed -e 's/^
|
|||
upperrfc=$(echo "$rfc" | tr [:lower:] [:upper:])
|
||||
title=$(echo "$title" | tr [:space:] '_')
|
||||
folder="${upperrfc}_-_${title}"
|
||||
folder=$(printf "%s" "$folder" | sed -e "s/_*$//")
|
||||
folder=$(printf "%s" "$folder" | sed -e "s/_*$//" -e "s/\///")
|
||||
|
||||
mkdir -p "$folder"
|
||||
cd "$folder"
|
||||
|
|
Loading…
Reference in New Issue