mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-06 04:16:04 +03:00
parent
35ccf3ac83
commit
7a3c5c32d1
@ -82,7 +82,7 @@ RFC_get()
|
||||
| sed -r 's/^(.*)(January|February|March|April|May|June|July|August|September|October|November|December) [[:digit:]]{4}(.*)$/\1/' \
|
||||
| grep -v 'Not Issued' \
|
||||
| sed 's/ .*//; s/^0*//'
|
||||
printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
|
||||
# printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
|
||||
return 0
|
||||
# Print list of available RFCs
|
||||
elif [[ "${1,,}" == ":describe" ]]
|
||||
@ -94,7 +94,7 @@ RFC_get()
|
||||
| sed 's/# //g' \
|
||||
| grep -o '.*\. ' \
|
||||
| sed -r 's/^(.*)(January|February|March|April|May|June|July|August|September|October|November|December) [[:digit:]]{4}(.*)$/\1/'
|
||||
printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
|
||||
# printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
|
||||
return 0
|
||||
# Format list of RFCs related to keyword: RFC_N RFC_Title
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user