From f2751a8604f2a64e4d2913a8c8244e676a77239a Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Thu, 4 Apr 2024 16:13:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=B0=D0=B12:=20=D0=B4=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=D0=B2=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=B7=D1=80=D1=83=D1=87=D0=BD=D1=96=D1=88=D0=BE?= =?UTF-8?q?=D1=97=20=D1=80=D0=BE=D0=B1=D0=BE=D1=82=D0=B8=20=D0=B7=20use-ca?= =?UTF-8?q?se-=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=8F=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/table-generator/list-exceptions.sh | 5 +++++ utils/table-generator/update-tables.sh | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 utils/table-generator/list-exceptions.sh create mode 100755 utils/table-generator/update-tables.sh diff --git a/utils/table-generator/list-exceptions.sh b/utils/table-generator/list-exceptions.sh new file mode 100755 index 0000000..2ed0457 --- /dev/null +++ b/utils/table-generator/list-exceptions.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +grep -E '\|\ [0-9]{3}\.[0-9]{3}' use-cases/*.uc \ + | cut -d '|' -f 2 \ + | sort | uniq -c diff --git a/utils/table-generator/update-tables.sh b/utils/table-generator/update-tables.sh new file mode 100755 index 0000000..20a2d4a --- /dev/null +++ b/utils/table-generator/update-tables.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +mkdir -p tables/ +./convert.py use-cases/* -nv -d tables/