diff options
author | lassulus <lass@aidsballs.de> | 2015-03-05 17:25:20 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-03-05 17:25:20 +0100 |
commit | 09a0e5a7df3ef5eece901064ea708125bd51bd9c (patch) | |
tree | 6cb7a87374aaa05e19b29427efc4b588ef6362f2 /util/bin/wiki.firstpar | |
parent | 67a7a6a6beeae2b36de38c4dd59d4895b6a188bc (diff) |
remove broken wiki.firstpar
Diffstat (limited to 'util/bin/wiki.firstpar')
-rwxr-xr-x | util/bin/wiki.firstpar | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/util/bin/wiki.firstpar b/util/bin/wiki.firstpar deleted file mode 100755 index d2181f1b..00000000 --- a/util/bin/wiki.firstpar +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/bash -set -euf - -A=Mozilla - -pwd="$(dirname "$(readlink -f "$0")")" - -for x in \ - "$pwd/../../submodules/github/tmpvar" \ - "$pwd/../../submodules/github/mikeal" \ - "$pwd/../../submodules/github/NV" \ - "$pwd/../../submodules/github/tautologistics" \ -; do - export NODE_PATH="`readlink -f "$x"`${NODE_PATH+:$NODE_PATH}" -done - -# ensure query is ready -(cd "$pwd/../.." && git submodule update --init) - -query() { - node "$(readlink -f "$pwd/../../submodules/github/visionmedia/query")" "$@" -} -curl -b redirect=seen -L -e http://de.wikipedia.org/wiki/$RANDOM -sS -A "\${A-Mozilla}" "$1" | query 'p' 'first' |w3m -T text/html -dump| cut -c -750 |