Embedding documentation in shell script (2007)

1 sdovan1 1 9/3/2025, 2:29:46 AM bahut.alma.ch ↗

Comments (1)

sdovan1 · 1d ago
I have a function in .bashrc to read the pod in browser:

  read_pod_html() {
    local html=$(mktemp --suffix '.html')
    pod2html --css='https://www.w3.org/StyleSheets/Core/parser.css?doc=XML&family=7' "$1" > "$html"
    /usr/bin/x-www-browser "$html"
  }