Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Embedding documentation in shell script (2007) (alma.ch)
1 point by sdovan1 8 months ago | hide | past | favorite | 1 comment


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"
  }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: