On some operating systems assigning to "$0" modifies the argument area that the ps program sees.