This is my code from previous posts, but it's not working with other delimited files.
Can you please help me in modifying this below script for any other delimited files?
awk '{
tmp="echo " $2 " | openssl md5 | cut -f2 -d\" \""
tmp | getline cksum
$2=cksum
print
}' < sample