Timeline for Print the first and last match of a field with awk
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Sep 8, 2015 at 18:38 | comment | added | chaos |
@rcjohnson They are not set after the conditions, they were set in the last loop and they are now set for the next loop. In the first loop they are not set, they are empty, therefore the condition $2!=f is true then.
|
|
| Sep 8, 2015 at 18:36 | comment | added | rcjohnson | Great I didn't see how the variables could be set after the conditions. I'm going to need to re-examine some of my older stuff now. Thank you once again. | |
| Sep 8, 2015 at 18:30 | comment | added | chaos | @rcjohnson Sure, I added an explanation | |
| Sep 8, 2015 at 18:30 | history | edited | chaos | CC BY-SA 3.0 |
explanation
|
| Sep 8, 2015 at 18:21 | comment | added | rcjohnson | Thank you very much. This worked perfectly. Would you mind annotating commands? I am not certain I follow the logic. | |
| Sep 8, 2015 at 18:14 | vote | accept | rcjohnson | ||
| Sep 8, 2015 at 17:03 | history | answered | chaos | CC BY-SA 3.0 |