Guest User

Untitled

a guest
Dec 18th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. [
  2. "12.345.67.89"
  3. ]
  4.  
  5. cat publicIpAddress.log | sed 's/[][]//g'
  6.  
  7. "12.345.67.89"
  8.  
  9. ipd=$( cat publicIpAddress.log | sed 's/[][]//g' )
  10.  
  11. ipd=$( cat publicIpAddress.log | sed 's/[][]//g' ) | xargs
  12.  
  13. ipd=$( cat publicIpAddress.log | sed 's/[][]//g' ) | tr -d '"'
  14.  
  15. ipd=$( cat publicIpAddress.log | sed 's/[][]//g' )
  16. ipd=$( "${ipd//"}" )
  17.  
  18. ipd=$( cat publicIpAddress.log | sed 's/[][]//g' ) | sed -e 's/^"//' -e 's/"$//'
Add Comment
Please, Sign In to add comment