beloglazov / vim-online-thesaurus

A Vim plugin for looking up words in an online thesaurus
Apache License 2.0
247 stars 21 forks source link

remove bash, curl depends - printf's, use mktemp #3

Closed derekschrock closed 11 years ago

derekschrock commented 11 years ago

bash, curl, and wget are not in base FreeBSD however fetch(1) is.

use sh instead of bash

try to use curl, wget, or fetch

use printf instead of 'echo -n'

temp outfile created via mktemp

grep -q to remove redirect