Skip to content

Instantly share code, notes, and snippets.

@emersondemetrio
Created May 19, 2022 09:28
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 emersondemetrio/245f579ce99be40ba0285c8a1c0ef86b to your computer and use it in GitHub Desktop.
Save emersondemetrio/245f579ce99be40ba0285c8a1c0ef86b to your computer and use it in GitHub Desktop.
#!/bin/bash
# Branch Removing Tool
LIST=$(cat ./list.txt)
while read -r item; do
echo "Current item: $item"
done <<<"$LIST"
printf "> All done. Goodbye. \n\n"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment