2020-05-19 13:38:27 +02:00

7 lines
142 B
Bash
Executable File

#!/bin/sh
# Open random man page.
man "$(a="$(shuf -i 1-"$(man -k . | wc -l)" -r -n 1)" && man -k . | \
awk -v v="$a" 'NR==v {print $1}')"