[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl->AWK!

frog@intertek.net wrote:
> so if you telnet into a radius server that doesn't have perl installed
> with the Net::Telnet (thanks for the tips by the way ) awk would be a
> better tool for parsing colon delimited  files?

e.g. awk -F: '{print $1,$4,$5}' /etc/passwd 

perl -le "$_='7284254074:0930970:H4012816';tr[0->][ BOPEN!SMUT];print"

To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.