ADMIN LOVERS (7) adminlovers ADMIN LOVERS (7)
NAME
admin lovers - from Love Letters In Bash
SYNOPSIS
./adminlovers.sh [OPTIONS...]
DESCRIPTION
This code poem is inspired by endless hours working as a system
administrator with the terminal and at the same time the need to
make art. It is also inspired by the collaborative project
Queering Bash, a critical manual and research in progress with
artist Winnie Soon. The poem is generated by parsing man pages,
which are a form of software documentation found on Linux
and Unix-like operating systems.
The bash script adminlovers.sh substitutes the word “administrators”
with the word “lovers”, and the words “operator” and “management”
with "kissing". It is an endeavor in queering the, often non-readable,
manual pages of command lines, and our technical work with
machines.
script adminlovers.sh
#!/bin/bash
dir=$1
cd $dir
for i in $(zgrep 'administrators' * \
| cut -d . -f 1 | uniq \
| xargs -I %s man %s \
| grep 'administrators' --color=always \
| sed -e 's/administrators/lovers/g' \
-e 's/\(operator\|management\)/kissing/g'); \
do echo $i;
sleep 0.5;
done
OPTIONS
Script takes as input a man directory
e.g. ./adminlovers.sh /usr/share/man/man7
Note: above command assumes the script has become
executable with:chmod +x adminlovers.sh
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
AUTHOR
Mara Karagianni is an artist, software developer and system
administrator. Their work involves computational and analogue
media for publishing, print-making, python programming,
making technical user manuals, and writing about the internet,
FOSS and feminism.
https://psaroskalazines.gr/
https://systerserver.town/@mara (Mastodon)