SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat text.txt | sed -r 's/([^[:alpha:]]+)$//g' | sed -r 's/([^[:alpha:]]+)/\n/g' | sed -r 's/(.)/\L\1/g' | sort | uniq | awk '{like = "tre-agrep -B -s -w " $0 " dic.txt | head -n 1"; like | getline result; split(result, a, ":"); if(a[1]!=0) print $0 ":" result}'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top