Surrounding things with a pair of " causes them to be treated as a single argument in the Bourne Shell. (I am not familiar with the C-Shell.) So if you were to use echo "$PS1" rather than echo $PS1 any trailing blanks would be preserved. Geo Swan Integrated Studies University of Waterloo