Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nurlanf
Created March 11, 2019 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nurlanf/ade1db00a3effc870b9c1d5df65de83a to your computer and use it in GitHub Desktop.
Save nurlanf/ade1db00a3effc870b9c1d5df65de83a to your computer and use it in GitHub Desktop.
Useful scripts
#!/bin/bash
display_usage() {
echo "Usage: $0 <filename>"
}
if [ $# -eq 0 ]
then
display_usage
exit 1
fi
grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' $1 | sort | uniq -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment