I have some old code from 2003 which uses -t option for uniq command. It throws an error since that option is probably not supported anymore.
Here's the piece which uses the command:
egrep -n "{ IA32_OP" ia32-decode.c | \
awk '{ print $1 $3 $4 }' | \
sort -t '(' +1 | \
uniq -t ':' -f 1 | \
sed 's/\(.*\)\:IA32_OP(\(.*\)),/#define IA32_OP_\2 \1/g' >> ia32_opcodes.h
What did that option do back then? What can I substitute that command with?
man uniq,-f 1avoids comparing the first field. I'd infer from-t ':'that-tis supposed to change the field seperator from blanks to:. – Martin von Wittich Feb 01 '14 at 14:28-twas a Debian-specific option that was later removed? – Martin von Wittich Feb 01 '14 at 14:31uniqdidn't have the same-tand-kas sort or why sort didn't have all the features ofuniqincorporated (since it now has-u). Those-w/-f/-sfrom GNU uniq don't make sense. Why couldn't they use the same syntax assort. – Stéphane Chazelas Feb 01 '14 at 15:57-tin textutils 2.0-3 in Debian woody – Stéphane Chazelas Feb 01 '14 at 16:12