Articles in Category "Programmierung"

Match-Resumption in case…esac of Bourne Again Shell

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.

An Introduction to Programmable Completion in Bash

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

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

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

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

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

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

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 […]