| tgopher-validator - gopher-validator - Simple gopher menu validator. | |||
| git clone git://bitreich.org/gopher-validator git://hg6vgqziawt5s4dj.onion/gopher-validator (git://bitreich.org) | |||
| Log | |||
| Files | |||
| Refs | |||
| Tags | |||
| LICENSE | |||
| --- | |||
| tgopher-validator (169B) | |||
| --- | |||
| 1 #!/bin/sh | |||
| 2 # | |||
| 3 # See the LICENSE for licensing details. | |||
| 4 # | |||
| 5 | |||
| 6 result="$(sacc "$@" | grep "^!")" || printf "valid\n" && exit 0 | |||
| 7 | |||
| 8 printf "Errors found\n%s\n" "${result}" | |||
| 9 exit 1 | |||
| 10 |
Response: application/gopher-menu
| Original URL | gopher://bitreich.org/1/scm/gopher-validator/file/gopher-... |
|---|---|
| Content-Type | application/gopher-menu; charset=utf-8 |