I'm not entirely sure I understand the question. The thing that's throwing me off is
extra unix command line.
If you just want the command and args as they were typed in
print "$0 ".join( " ", @ARGV )."\n"
or something similar should suffice.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs