in reply to How to take only maximum directory name by using its digits using perl?
seek LOGFILE, 0, 0; while (<LOGFILE>) { if (/rev_(\d+)/) { print if $1 == $max_id } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to take only maximum directory name by using its digits using perl?
by finddata (Sexton) on Mar 29, 2017 at 05:50 UTC | |
by Anonymous Monk on Mar 29, 2017 at 06:10 UTC |