I wanted to use cut to with a 2 charachter delimeter to process a file with many lines like this:
1F3C6..1F3CA
1F3CF..1F3D3
1F3E0..1F3F0
But cut only allows a single character.
Instead of cut -d'..' I'm trying awk -F'..' "{echo $1}" but it's not working.
My script:
wget -O output.txt http://www.unicode.org/Public/emoji/6.0/emoji-data.txt
sed -i '/^#/ d' output.txt # Remove comments
cat output.txt | cut -d' ' -f1 | while read line ;
do echo $line | awk -F'..' "{echo $1}"
done
.appear alone elsewhere in the file?