zam_mdn wrote: > Mohon bantuan cara membuat program yang dapat menghapus > baris/isi dari file, yang mengandung kata tertentu. > Sudah baca Manual dan HOW_TO tapi masih belum bisa, > Trim's atas bantuan kawan-kawan
hapus baris: fgrep -v -- kata_tertentu infile > outfile hapus kata: sed -e 's/kata_tertentu//g' infile > outfile Kalau mau reinvent the wheel, silakan periksa source code masing2 prog di atas. -- +-R-| Mozilla 1.0rc3 Gecko/2002 |-H-| Powered by Linux 2.4.x |-7-+ |/v\ Agus Budy Wuysang MIS Department | | | Phone: +62-21-344-1316 ext 317 GSM: +62-856-1072-847 | +------------| http://www.fasw.co.id/person/supes/ |-------------+ -- Utk berhenti langganan, kirim email ke [EMAIL PROTECTED] Informasi arsip di http://www.linux.or.id/milis.php3
