Merge pull request #1395 from jsloan117/dev_syntax_cleanup
Removing useless cat in vpnbook
This commit is contained in:
@@ -12,4 +12,4 @@ curl -s -X POST --header "apikey: 5a64d478-9c89-43d8-88e3-c65de9999580" \
|
|||||||
-F 'detectOrientation=false' \
|
-F 'detectOrientation=false' \
|
||||||
-F 'isTable=false' \
|
-F 'isTable=false' \
|
||||||
"https://api.ocr.space/parse/image" -o /tmp/vpnbook_pwd
|
"https://api.ocr.space/parse/image" -o /tmp/vpnbook_pwd
|
||||||
export OPENVPN_PASSWORD=$(cat /tmp/vpnbook_pwd | awk -F',' '{ print $1 }' | awk -F':' '{print $NF}' | tr -d '"')
|
export OPENVPN_PASSWORD=$(awk -F',' '{ print $1 }' /tmp/vpnbook_pwd | awk -F':' '{print $NF}' | tr -d '"')
|
||||||
|
Reference in New Issue
Block a user