Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $ echo "john.doe@gmail.com" | sed 's/"([^"]*)"//g'
  2. john.doe@gmail.com
  3.  
  4. $ cat ~/Desktop/emails.txt
  5. "john.doe@gmail.com"
  6. $ sed 's/"([^"]*)"//g' ~/Desktop/emails.txt
  7. "john.doe@gmail.com"
  8. $ sed -i '' 's/"([^"]*)"//g' ~/Desktop/emails.txt
  9. $ cat ~/Desktop/emails.txt
  10. "john.doe@gmail.com"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement