Skip to main content

Timeline for How does awk '!a[$0]++' work?

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Sep 2, 2022 at 13:30 comment added Ed Morton We idiomatically name the array seen[] for this usage, not a[], to better indicate it's purpose of separating the first from the subsequent occurrence of duplicate values.
Mar 3, 2022 at 8:27 answer added Chiao-Wei Hsu timeline score: 1
Mar 18, 2021 at 13:18 history edited Lesmana
edited tags
Mar 18, 2021 at 13:17 answer added Lesmana timeline score: 27
Jul 17, 2020 at 6:04 review Close votes
Jul 23, 2020 at 3:05
Jul 13, 2020 at 13:56 comment added user232326 Related: Almost the same question here
Jul 9, 2020 at 6:27 history edited αғsнιη
edited tags
Oct 7, 2014 at 6:10 comment added Kevin As it's a hash, it's unordered, so "in the order of arrival" isn't actually correct.
Oct 7, 2014 at 2:02 answer added cuonglm timeline score: 52
Oct 7, 2014 at 1:21 vote accept Alexander Shcheblikin
Oct 6, 2014 at 21:03 answer added Archemar timeline score: 65
Oct 6, 2014 at 20:56 history asked Alexander Shcheblikin CC BY-SA 3.0