aboutsummaryrefslogtreecommitdiff
path: root/bin/get-max-address-length.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-max-address-length.sh')
-rw-r--r--bin/get-max-address-length.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/get-max-address-length.sh b/bin/get-max-address-length.sh
new file mode 100644
index 0000000..3ec8f2c
--- /dev/null
+++ b/bin/get-max-address-length.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3set -xe
4
5cat res/users_data.csv | tail -n +2 | cut -d, -f7 | sort -u | awk '{print length, $0}' | sort -rn | head -n 1 | cut -d' ' -f1