Advertisement
Guest User

Untitled

a guest
May 24th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. /bin/sed: -e expression #1, char 1: unknown command: `.'
  2.  
  3. #!/bin/sed -rn
  4. : loop
  5. s/\r//
  6. N
  7. s/\r//
  8. t x
  9. : x
  10. s#^(.+)\n(http://svn.corp.spotoption.com.+)#echo 'if [[ $( head -c -1 <<"EOF" | sha512sum | cut -d" " -f1\n\1\nEOF\n) = $csumkey ]]; then echo match \2; else echo nomatch;fi' >>file#e
  11. t output
  12. b loop
  13. : output
  14. s/nomatch//;t nomatch
  15. s/match (.+)/\1/p;Q
  16. : nomatch
  17. n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement