$ is a variable, and you have not defined it. > $ by it self means the first word on the line ie sort. > > So your line expands to: $ sort -t sort'\xff' > > NB I AM NOT A PROGRAMMER! > Thanks. That explains the error message. What is the correct way of doing it in tcsh though?