Subj : Spliiting a command line into two options To : Sean Rima From : David Drummond Date : Sun Aug 17 2003 07:47 pm Al salaam a'alaykum Sean 16 Aug 03 14:32, Sean Rima wrote to All: SR> Hello everybody. SR> I am trying to grab options from a command line basically which SR> looking like: SR> tcob1tes this is a test SR> I want $a to be tcob1tes and $b to be this is a test I'd read $ARGV[0] into $a, then set up a loop to read the rest of the $ARGV array, concatenate the bits with spaces, and shove it in $b... Regards, David --- Msged/LNX TE 06 (pre) * Origin: Blessed are the geek for they shall inherit the earth. (3:640/305) .