in reply to Re^3: problem count the number of words -- oneliner
in thread problem count the number of words
Not sure why you have the "i" modifier.# works like wc perl -ne 's/\s+/$i++/eg;END{print "$i\n"}' f1 f2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: problem count the number of words -- oneliner
by pme (Monsignor) on Dec 26, 2018 at 21:00 UTC |