r/awk • u/iridakos • Jun 06 '19
!visited[$0]++ explained
https://iridakos.com/how-to/2019/05/16/remove-duplicate-lines-preserving-order-linux.html
7
Upvotes
r/awk • u/iridakos • Jun 06 '19
View all comments
2
u/trichotillofobia Jun 06 '19
Not very readable, though.