5.23. Don't Quote Arguments to xterm -e
Being a belt-and-suspenders kind of guy, I've gotten in the habit of quoting arguments to commands. This makes good sense with lots of Unix shell commands, but it can get you in trouble with xterm -e. For example, I wanted to set up a job that would open vi in a window to edit a file named .postit. At first, I used the command:
xterm ... -e 'vi .postit' &
only to receive the perplexing message in the resulting window:
Can't execvp vi .postit
--TOR and SJC
Copyright © 2003 O'Reilly & Associates. All rights reserved.