copy profile to another server1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user