copy profile to another server1

This commit is contained in:
Priec
2026-09-03 19:21:54 +02:00
parent cfb3bde02e
commit 05c387406c
7 changed files with 454 additions and 2 deletions

View File

@@ -34,12 +34,20 @@ process_csv() {
OFS = FS
}
{
sub(/\r$/, "", $0)
}
NR == 1 {
print
next
}
{
if ($6 == "- -") {
$6 = ""
}
cleaned = clean_account($10)
if (cleaned == "") {
@@ -47,6 +55,11 @@ process_csv() {
}
key = cleaned
if (key == "000") {
next
}
key_count[key]++
if (!(key in key_order)) {
key_order[key] = ++key_total