Linux: Bash: Get text between brackets Tux 12 years ago Advertisements awk 'NR>1{print $1}' RS='(' FS=')' Share this: Get the first column of a file in bash27 September 2011BashBash: Switch positions between all characters in odd positions with characters in even positions21 June 2017GNU/LinuxAdd a new line whenever the first column changes1 June 2019BashThis post is also available in: Greek