Subj : Spliiting a command line To : Jame Clay From : Sean Rima Date : Tue Aug 19 2003 12:59 pm -=> Jame Clay wrote to Sean Rima <=- JC> Hi Sean! JC> >>>> I want $a to be tcob1tes and $b to be this is a test JC> >>> 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... JC> >> I did that in the end, works a treat. JC> JC> And, of course, if you want more control over the command line JC> parameters to a you could use getopts (Stn or Long)... JC> That was my first port opf call but I cannot use " from the script that I was using as it requires the " for the start and end of the commandline to call. Sean .... Oh Lord it is so hard to be humble, when you are perfect in every way --- blueMail/Win32 1.1 --- SBBSecho 2.00-Win32 * Origin: There Can Only Be 1 http://www.tcob1.net (2:263/950) .