Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Hello hi 123
  2. if a equals b
  3. you
  4. one abc two three four
  5. dany uri four 123
  6.  
  7. if if a equals b
  8. dany dany uri four 123
  9.  
  10. sed 's/(^([ ]*[^ ]+[ ]+)[^ ]+[ ]+[^ ]+[ ]+[^ ]+[ ]*$)/2&/' $1 >>tmp
  11.  
  12. sed: -e expression #1, char 62: invalid reference 2 on `s' command's RHS
  13.  
  14. $ sed -nr '/^(w+)s+1s+(w+s*){3}$/p' file
  15. if if a equals b
  16. dany dany uri four 123
  17.  
  18. sed 's/s+(w+(s)?.?)+//' file
  19.  
  20. AAIT
  21. AAL
  22. AAME
  23. AAOI
  24. AAON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement