in reply to Re: Print something when key does not exist
in thread Print something when key does not exist
Thanks so much for this insane one-liner. I have learnt so much about awk by writing and reading awk one liners. This will help a great deal as well.
Two questions:
What does the following mean? Is that for handling blank lines?
or !@F;
How does, index increment for the array in the following to cover every element?
say join ( "^", $_, @{ $h{$_} } {@w} ) for sort keys %h'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Print something when key does not exist
by NetWallah (Canon) on Apr 06, 2014 at 04:51 UTC | |
by jaypal (Beadle) on Apr 06, 2014 at 06:15 UTC |