On Tue, Apr 08, 2003 at 07:23:31PM +0700, Alexander S. Belov wrote: > В Втр, 08.04.2003, в 19:10, Dmitry V. Levin пишет: > > > > $ apropos 'remove duplicate lines' > > uniq (1) - remove duplicate lines from a sorted file > > > > pc_asbel:asbel:~/1>cat | sort -u | egrep "^alias sound[^ ]*" | cut -d\ > -f3 | uniq -u > alias sound-slot-4 btaudio > alias sound-slot-1 sb > alias sound-slot-2 btaudio > alias sound-slot-3 btaudio > alias sound-slot-0 emu10k1 > Нажимаю Ctrl+D > emu10k1 > sb > btaudio > > pc_asbel:asbel:~/1> > > Вот :-). $ echo -e '1\n2\n1' |uniq -u 1 2 1 -- ldv