/
nicodim4
/
ArduinoJson
Обзор
Документация
Войти
/
nicodim4
/
ArduinoJson
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
7.x
extras/scripts/extract_changes.awk
29 строк
487 B
Benoit Blanchon
Update the release scripts to include the breaking changes section
29 дек 2024, 18:38
29 дек 2024, 18:38
254fa57
Код
Авторство
О чём код?
#!/usr/bin/awk -f # Start echoing after the first list item /\* / { STARTED=1 EMPTY_LINE=0 } # Remember if we have seen an empty line /^[[:space:]]*$/ { EMPTY_LINE=1 } # Exit when seeing a new version number /^v[[:digit:]]/ { if (STARTED) exit } # Print if the line is not empty # and restore the empty line we have skipped !/^[[:space:]]*$/ { if (STARTED) { if (EMPTY_LINE) { print "" EMPTY_LINE=0 } print } }