I have a file with this content:
xyz xyz xyz xyz abc abc abc
Each value is separated by a newline. I want to separate them into two different files based on whether the number in square brackets is even or odd.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community