Token question - 15/01/06 03:08 PM
Hi,
I have a text file with nicks and addresses (in an abbreviated form of $ctime) and I want to be able to process each number to add a 1 and a 0 and then make them $asctime, and then be able to echo the finished line. I tried using a loop to keep adding the next token to a variable, but I can't seem to figure it out. A line looks like this:
*!*@whatever-D1F223B4.aep.bellsouth.net,Blake1 13728927,Blake-brb 13728929,Blake2 13728937
I want to be able to process that line so I can get an echo that says "Blake was Blake1 <date here>,Blake-brb <date here>,Blake2 <date here>.
I can figure out how to process the numbers to get the date I want. I'd just like someone to help me figure out how to set a variable to keep being equal to the info it has stored plus the next token as it loops. I'll use "tokenize 44 %list", but I can't figure it out from there. Thanks for any help.
I have a text file with nicks and addresses (in an abbreviated form of $ctime) and I want to be able to process each number to add a 1 and a 0 and then make them $asctime, and then be able to echo the finished line. I tried using a loop to keep adding the next token to a variable, but I can't seem to figure it out. A line looks like this:
*!*@whatever-D1F223B4.aep.bellsouth.net,Blake1 13728927,Blake-brb 13728929,Blake2 13728937
I want to be able to process that line so I can get an echo that says "Blake was Blake1 <date here>,Blake-brb <date here>,Blake2 <date here>.
I can figure out how to process the numbers to get the date I want. I'd just like someone to help me figure out how to set a variable to keep being equal to the info it has stored plus the next token as it loops. I'll use "tokenize 44 %list", but I can't figure it out from there. Thanks for any help.