Skip to content

A small script for easily creating yes/no bash loops for use in scripts. You can

License

boredsquirrel/easy-bash-loops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy bash loops

A small script for easily creating yes/no bash loops for use in scripts. You can

  • Enter a question
  • state what happens if yes or no
  • save the file to your working directory (automatic renaming if there are duplicates)
  • save the file to a custom directory (no matter if ending with "/" or not)
  • copy the loop to your clipboard (Wayland only)

Screenshot

Screenshot 2

Screenshot 3

I fixed the code completely. It works very well now.

Dependencies:

  • bash
  • cat
  • wl-clip (change it to xclip if you want)
  • read
  • printf (only for header)

Install

wget https://github.com/trytomakeyouprivate/easy-bash-loops/raw/main/create-loop -p ~/.local/bin
chmod +x ~/.local/bin/create-loop

About

A small script for easily creating yes/no bash loops for use in scripts. You can

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages