Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cut -d ',' -f 2,40 washers.csv |
  2. awk -F, '{if ($2 != "") {print}}' | tail -n +2 |
  3. sed -r 's/,https\:\/\//,code_a#_firstpass/Ig;
  4. s/,http\:\/\//,code_a#_firstpass/Ig;
  5. s/,code_a#_firstpass[-a-zA-Z0-9\.\/]*\/\//,!Double_slash\/\//g;
  6. s/\/.*//g;
  7. s/,code_a#_firstpass[-a-zA-Z0-9\.]*\s/,!Space/g;
  8. s/,code_a#_firstpass\./,!Begins_dot/g;
  9. s/,code_a#_firstpass[-a-zA-Z0-9\.]*\.\.[-a-zA-Z0-9\.]*[\/]?/,!Double_dot_before_first_backslash/g;
  10. s/,code_a#_firstpass[-a-zA-Z0-9\.]*\.[-a-zA-Z0-9\/]+$/,code_b#_allpass/g' |
  11. egrep -v ',code_b#_allpass' | cut -d ',' -f 1,1 | sort | uniq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement