Ronny Haryanto wrote:
On Wed, Jul 12, 2006 at 07:45:23AM -0400, Yanu Widodo wrote:
   cut -d , -f 3 filenya | sort | uniq

Input ke uniq harus sorted. Kalo mau pake hitungan karakter instead of
field number, tinggal ganti -f dengan -c, baca man cut.
wah jadi ke potong mas,
saya ingin file outputnya masih utuh

    sort -t , -k 3 filenya | uniq -s 3


OK, udah jalan nich ..

thank-q mas ronny and mas foo bar ...
dilanjutin besok, saya mau tidur dulu ...


regds,

yanu

--
Berhenti langganan: [EMAIL PROTECTED]
Arsip dan info: http://linux.or.id/milis

Kirim email ke