How to get the second column from command output?
My command’s output is something like: 1540 “A B” 6 “C” 119 “D” The first column is always a number, followed by a space, then a double-quoted string. My purpose is to get the second column only, like: “A B” “C” “D” I intended to use <some_command> | awk ‘{print $2}’ to accomplish this. But … Read more