1 2 3 4 5 6 7 8 9
{ ino = $1 name = $NF type = substr($2, 1, 1) if (type == "-") type = "f" printf "%s/%s/%s\n", ino, name, type }