| bitreich-lawn-random-link - gopher-lawn - The gopher lawn gopher directory proj… | |
| git clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhf… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| --- | |
| bitreich-lawn-random-link (257B) | |
| --- | |
| 1 #!/bin/sh | |
| 2 # | |
| 3 # Thanks to parazyd for the idea! | |
| 4 # | |
| 5 | |
| 6 _f="$(find /br/gopher/lawn/c/ | shuf -n1)" | |
| 7 _u="$(grep '^\[[0-9a-zA-Z]\{1\}|.*\]' $_f | head -n-1 | shuf -n1)" | |
| 8 _af="$(printf "%s\n" "$_u" | sed 's,|server|port\],|bitreich.org|70\],g'… | |
| 9 | |
| 10 printf "%s\n" "$_af" | |
| 11 |