Replace cut by awk