My goal is to change the process' name. According to the FAQ, I should just assign to the special $0 variable. This works a little, but the program's name now has four or five lines of spaces after it (when doing a 'ps axww'). Sometimes it works good, sometimes it doesn't. In fact, it seems that long values work, whereas shorter values have the spaces appended.