Just run the input through tr \| \ <---- there is a space after that last backslash and pipe that to your awk. Ok then, tr '|' ' ' if you prefer readability.