Archive
Posts Tagged ‘rep’
Bash-Utils updated
January 9, 2017
Leave a comment
I have several projects on GitHub (link) but some of them are either abandoned or outdated. So I want to review and update all of them.
I started this process with Bash-Utils. The Python 2 codebase was moved entirely to Python 3. The old Python 2 source is tagged and available under the “release” link, but I won’t touch that anymore. Only the current version (Python 3) will be updated. The README file is converted to Markdown, and new scripts are also documented.
Today I added a script called “rep.py” that allows you to execute a bash command several times. Example:
$ rep 3 echo hello hello hello hello
It will execute “echo hello” three times.
