use awk instead of cut for more predictable output