KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
when i am trying to remove consecutive duplicate lines with awk "!x[$0]++" file its reporting x[: Event not found. even the same case with sed -i -e "$!N; /^\(.*\)\n\1$/!P;D" file as well reporting N: Event not found. i tried with single quotes too, it didn't help Any idea to fix those
Tags (comma-separated)
Save Edits
Cancel