2009/5/17 Andy Armstrong <andy at hexten.net>: > So the question becomes what's the shortest one-liner that will cause what > ps displays to be the same as what $0 contains? > > My first attempt is > > ( $0 .= ' ' ) =~ s/ $//; $0.=''; would appear to be sufficient to replicate. Adrian.