7 lines
142 B
Plaintext
7 lines
142 B
Plaintext
|
#!/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}')"
|