8456 shaares
201 private links
201 private links
3 results
tagged
awk
😮
cat toto.txt | sort | uniq > pas-de-doublons.txt
to
cat toto.txt | awk '!x[$0]++' > pas-de-doublons.txt
A cool website with a lot of ressources
I have seen articles about the awk
comand :
- Getting started with awk; a powerful text-partsing tool
- How to remove duplicate lines from files with awk
- Awk one-liners and scripts to help you sort text files
- Drinking coffee with AWK : an example of application
- Advance your awk skills with two easy tutorials
- Fields, records, and variables in awk
- A guide to intermediate awk scripting