7 lines
142 B
Bash
Executable File
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}')"
|