Skip to content

Instantly share code, notes, and snippets.

View spotlesstofu's full-sized avatar

Camilla Conte spotlesstofu

View GitHub Profile
@spotlesstofu
spotlesstofu / perror
Created December 13, 2021 10:55 — forked from ryo1kato/perror
perror - bash implementation
#!/bin/bash
errno_headers="/usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h"
print_usage () {
echo "Usage: ${0##*/} ERRNO"
}
case $1 in