number.sh (214B)
1 #!/bin/bash 2 3 # all unregistered airlines get the same code 4 # we rely on the fact that all \N come last 5 6 awk '{if ($1 == "\\N") { 7 print n, $2, $3; 8 # n++; 9 } else { 10 print $0; 11 n = n > $1?n:$1; 12 } }'
bigworldcompute diameter of flights graph | |
git clone https://a3nm.net/git/bigworld/ | |
Log | Files | Refs |