-
10.1.2021
OpenNIC DNS updater script
@[https://framagit.org/ohnonot/opennic-resolve/-/raw/master/README.md] -
12.9.2020 (created: 27.5.2018)
Shell Scripting For Speed
Inspired by a forum threadChoose which shell your scripts use, that’s the “#/bin/*sh” at the top:Once you made that choice, it should influence your coding quite … -
1.9.2019
Pacman and Optional Dependencies
Archlinux packages list optional dependencies: “An array of packages that are not needed for the software to function, but provide additional features.” But there’s no special treatment built in … -
25.2.2019
Using GNU bash? Forget date!
Since Version 4.2.0 GNU bash can print times in strftime format with printf.OK, the external date command can do a lot that bash‘s builtin cannot do … -
27.2.2018
Load bash builtin from file
A few years ago I noticed that sleep is not built into bash and instead calls an external command each time.I like to make my scripts responsive and unobtrusive … -
18.2.2018
Bash: Test if a string is a web link
I sometimes need this in my scripts: if a string starts with either http:// or https://, it must be a web link. How can I test for that in a …