Guest User

Untitled

a guest
Sep 18th, 2015
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.61 KB | None | 0 0
  1. #!/bin/bash                                                                    
  2.  
  3. qwerty=HASHHASHHASH
  4.  
  5. # С двойными кавычками
  6.  
  7. python argtest.py -d "
  8. {
  9.    \"jsonrpс\": \"2.0\",
  10.    \"method\": \"host.exists\",
  11.    \"params\": {
  12.        \"host\": \"Zabbix Server\"
  13.    },
  14.    \"auth\": \"$qwerty\",
  15.    \"id\": 1
  16. } "  someanotherarg
  17.  
  18.  
  19. # С одинарными кавычками
  20.  
  21. #python argtest.py -d '
  22. #{
  23.     #"jsonrpс": "2.0",
  24.     #"method": "host.exists",
  25.     #"params": {
  26.         #"host": "Zabbix Server"
  27.     #},
  28.     #"auth": "$qwerty",
  29.     #"id": 1
  30. #} '  someanotherarg
Advertisement
Add Comment
Please, Sign In to add comment