I have a fixed-width-field file which I\'m trying to sort using the UNIX (Cygwin, in my case) sort utility.
The problem is there is a two-line header at the top of t
(head -n 2 && tail -n +3 | sort) > newfile
The parentheses create a subshell, wrapping up the stdout so you can pipe it or redirect it as if it had come from a single command.