aboutsummaryrefslogtreecommitdiff
path: root/bin/grun (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-04re "s|echo \"\\\$|printf '%s\\\n' \"\$|g"EuAndreh1-1/+1
Replace all cases where `echo` was given a variable as its first argument, even on cases where we always know what the variable's content look like.
2023-07-29bin/*: Add matching parenthesis to case clausesEuAndreh1-6/+6
2023-04-12bin/: Make help string more consistent across several executablesEuAndreh1-3/+8
2023-02-17bin/: Use explicit "--" separator for assert-arg usagesEuAndreh1-2/+2
In order to prevent legitimate cases to fail as errors, such as: NUM='-10' eval "$(assert-arg "$NUM" '-n NUM')" To prevent assert-arg(1) from treating "-10" as the options "-1 and -0, they need to be put after the "--" separator. This way, all usages of assert-arg(1) that had its first argument as a variable were adapted, and the usage and examples of assert-arg itself were updated to encourage this best practice.
2022-10-20Fix all ShellCheck warningsEuAndreh1-0/+2
IOW, `make check-shellcheck` passes.
2022-08-13bin/: Replace usage of assert_arg with assert-argEuAndreh1-10/+2
2022-08-13bin/grun: Improve help stringEuAndreh1-3/+3
2022-05-15bin/grun: s/FIXME/TODO/ to simplify etc/bash/check.sh testsEuAndreh1-2/+2
2022-05-12Move Git repository into ~/.usr/.git/EuAndreh1-0/+0
2022-05-12git mv .local/bin/ .usr/bin/EuAndreh1-0/+0
2022-05-12.local/bin/grun: Add working versionEuAndreh1-0/+102