1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-15 16:25:57 +00:00

Update README.md

Construct Github pull request (using in-web editor) for awesome committer.

Closes #20
This commit is contained in:
John Crepezzi
2014-02-05 08:17:23 -05:00
parent a83c921aa5
commit bfa7edda96

View File

@@ -67,16 +67,16 @@ If you'd like an alternative on Windows that supports functionality similar to `
## Lightweight Alternative ## Lightweight Alternative
Han Boetes has contributed a simple shell-script alternative for those not interested in installing a RubyGem: Han Boetes and @nickthename have contributed a simple shell-script alternative for those not interested in installing a RubyGem:
``` bash ``` bash
haste(){ ( echo "% $@"; eval "$@" ) | curl -F "$@=<-" http://hastebin.com/documents|awk -F '"' '{print "http://hastebin.com/"$4}'} haste() { a=$(cat); curl -X POST -s -d "$a" http://hastebin.com/documents | awk -F '"' '{print "http://hastebin.com/"$4}'; }
``` ```
Usage: Usage:
``` bash ``` bash
haste `cat index.html cat file.txt | haste
``` ```
## Author ## Author