- Sorter is a simple Bash script designed to extract, normalize, and deduplicate URLs from files.
- It’s especially useful when working with output from multiple tools or files containing URLs.
- The script ensures all URLs are standardized with a trailing
/, making it ideal for compatibility with tools likeGoWitness.
- Copy the script to your
/usr/binfolder:
sudo cp sort3r.sh /usr/bin/sort3r
- Make it executable:
chmod +x /usr/bin/sort3r
- And run it:
sort3r -i input_file.txt -o output_file.txt
- Feel free to open issues or submit pull requests to improve the script.