Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Example of tokens:
I would want the perl script to print somthing like:my @tokens = qw/report_time report_day reset read/; These can be abbeviated as: report_t report_d res rea Example of log file: report_t 14:09:33 PDT report_d Fri Jun 12 2015 res Resetting the time report_time 00:00:00 rea foo.bar Info: reading file foo.bar
Thanksreport_t report_d res report_time rea
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Script to reduce tokens to minimal unique characters
by thanos1983 (Parson) on Jun 12, 2015 at 21:28 UTC | |
|
Re: Script to reduce tokens to minimal unique characters
by QM (Parson) on Jun 15, 2015 at 10:52 UTC | |
|
Re: Script to reduce tokens to minimal unique characters
by Anonymous Monk on Jun 12, 2015 at 22:44 UTC | |
|
Re: Script to reduce tokens to minimal unique characters
by Anonymous Monk on Jun 13, 2015 at 01:56 UTC | |
|
Re: Script to reduce tokens to minimal unique characters
by gator456 (Novice) on Jun 15, 2015 at 16:15 UTC | |
|
Re: Script to reduce tokens to minimal unique characters
by AnomalousMonk (Archbishop) on Jun 16, 2015 at 02:51 UTC |