ArthurZ icon

Using awk to print duplicate lines of a file only once

ArthurZ | PRO | 04/29/18 02:24:39 AM UTC | 0 ⭐ | 818 👁️ | Never ⏰ | []
Bash |

30 B

|

None

|

0 👍

/

0 👎

awk 'seen[$0]++ == 1' <filename>

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎