Settings

Theme

Embedding documentation in shell script (2007)

bahut.alma.ch

1 points by sdovan1 4 months ago · 1 comment

Reader

sdovan1OP 4 months 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"
  }

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection