Hi,
# Define your fields
my($fld1, $fld2, $fld3, $fld4, $fld5, $fld6, $fld7, $fld8);
# load fields in array which are separated by pipe delimit
foreach $val1(@arr1) # referring to values in array
{($fld1, $fld2, $fld3, $fld4, $fld5, $fld6, $fld7, $fld8) =
split(/\|/,"$val1");
# Print the selected fields
print " $fld4, '$fld3'($fld2)\n";
I hope I have answered your question
Take care
junaid
-----Original Message-----
From: Edward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 11:34 AM
To: [EMAIL PROTECTED]
Subject: formatting text
Hi ,
I'm trying to extract clients with Lost-Carrier as Terminate-Cause from a
raw radius file.
I'm interested in 2 fields. User-name and Terminate Cause.
On running my script. I get a full list of all client User-names. and those
with Termiante-Cause.
Can some one assist me
"One cannot guess the real difficulties of a problem before having solved
it."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]