$ echo -e "\xF0\x9F\x98\x80"
Result:
😀
Command:
$ echo -n 😀 | hexdump
Result:
0000000 f0 9f 98 80
0000004
#!/bin/bash
for i; do
echo -n $i
done
$ awk -F, '{
cmd="./echo.bash \""$2"\" | openssl dgst -sha256"
while (cmd | getline line){
print line
}
close(cmd)
}' ./test.txt