Advertisement
Guest User

Untitled

a guest
Sep 15th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. text=$(<$1)
  4.  
  5. curl -s -L --data "code=$text&filetype=generic&tags=&title=&permission=public&expired=N" http://pastee.co/ | grep "http://pastee.co/" | tail -1 | cut -d">" -f2 | cut -d"<" -f1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement