update_terminfo.sh: NOLINT data arrays

This commit is contained in:
Justin M. Keyes
2018-12-28 15:48:57 +01:00
parent 959df5d8a5
commit dba69a1d3b
2 changed files with 17 additions and 17 deletions

View File

@@ -84,8 +84,8 @@ for term in $sorted_terms; do
infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' ' infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
printf 'static const int8_t %s[] = {\n' "${entries[$term]}" printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
printf ' ' printf ' '
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' | tr -d '\n'
printf '};\n' printf ' // NOLINT\n};\n'
done >> "$target" done >> "$target"
cat >> "$target" <<EOF cat >> "$target" <<EOF

File diff suppressed because one or more lines are too long