This article describes the impact of using the lesser discussed alternative code block terminators ;;& and ;& which control the „match-resuming“ behavior of Bash’s case…esac.
Articles in Category "Programmierung"
An Introduction to Programmable Completion in Bash
25. Mai 2025 in Administration, GNU/Linux, Programmierung.
I am using the terminal a lot on Linux. For my project „pulseaudio-tcp“ (see here for more information) i wanted to have more comfortable command line completion in Bourne Again Shell („Bash“). After having typed in the command name pulseaudio-tcp, when pressing the Tabulator key, i would like to see a list of all possible […]
Release of pulseaudio-tcp
28. Mai 2025 in Administration, GNU/Linux, Multimedia, Programmierung.
pulseaudio-tcp now has its first official release. The initial release features the following changes: GUI support with zenity for setup and other user interaction Debian packaging
A simple GUI for basic Package Management with Apt
2. Dezember 2024 in Administration, GNU/Linux, Programmierung, Technik.
The tool presented here, „Simple Apt Update“ (simple-apt-update) is nothing more than a front-end to the non-interactive execution of apt-get update|full-upgrade and apt list –upgradeable. It can look like this:
Utility to search for XDG Desktop Files
3. November 2024 in Administration, GNU/Linux, Programmierung, Technik.
In my previous article Print XDG Desktop Definition for Application i described a way to search the various „applications“ sub-directories of the known XDG data directories for .desktop-files that match certain search criteria. The short shell script from that article is now available as a commandline utility, including the usual bells and whistles such as […]
Getting Alerted on Expiring GPG Keys
3. August 2024 in Administration, GNU/Linux, Programmierung.
GnuPG is a powerful cryptographic tool that enjoys widespread support by F/LOSS mail user agents. However, due to a lack of conventional public key management it is plagued by key-related issues. One such issue is the expiry of GnuPG keys, which often goes unnoticed by affected messaging partners until such time when it actually disturbs […]
WordPress Plugin to embed Gitea Repositories
29. September 2023 in Administration, GNU/Linux, Programmierung, Technik.
I ported the WordPress plugin providing shortcodes for embedding Gitlab projects into posts and pages to a Gitea version. Below is a usage example, displaying the latest 3 commits and the latest release (if any) from repository „linuxfoo-gitea“ on my Gitea instance: Gitea project linuxfoo-giteaLast 3 commits: by root: 35962433 correct json pat to commit […]
Print all indented Lines following a non-indented Line
29. April 2024 in GNU/Linux, Programmierung.
Some configuration and output text formats contain sections like the following: foo: value1 value2 bar: value 3 In this article, two scripts are presented that print all consecutive indented lines that follow a non-indented line that matches a search pattern given by a regular expression. This means, given the single argument foo and the standard […]