Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!titcca!uitecgw!nemossan From: nemossan@uitec.ac.jp (Sakurao NEMOTO) Newsgroups: comp.os.minix Subject: possible bug-fix of "fgrep" for minix-1.5 (again) Keywords: fgrep, possible bug-fix, minix-1.5 Message-ID: <150@uitecgw.uitec.ac.jp> Date: 9 Nov 90 12:40:51 GMT Organization: Univ. Industrial Tech., Sagamihara, JAPAN Lines: 59 In Message-ID: <147@uitecgw.uitec.ac.jp> Date: 31 Oct 90 01:45:41 GMT I have posted >Subject: possible bug-fix of "fgrep" for minix-1.5 >Keywords: fgrep, minix-1.5, possible bug-fix instead of a net-friend of mine. Today she e-mailed me to CANCEL that article, because she had mistaken posting, Thus, I've canceled the article and GATEWAY again her new ver- sion of "possible bug fix for fgrep". Nov 09 '90 (Fri) 21:26 JST(+9:00) nemossan@uitec.ac.jp ------------------------------------------------------------------------ Possible bug fix for MINIX1.5 fgrep Sorry, I have sent a wrong patch for a few days ago. Here is a proper one. The fgrep in MINIX1.5 gets into a mess with -v option. For example, the command line "fgrep -v -f file2 file1" produces this output ! output ------ data_a data_b data_c data_d with following two files. file1 file2 ---------------------- data_a data_b data_b data_d data_c Data_d ---------------------- Here is a possible bug fix. ------------------------------------------------------------- table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 fgrep.cdif.Z M'YV-*@*",'-&3ADX+L8D,"(G#0@G;^R )$#1(P<.F#8T"%CAL4<.6 H:$'Rz M89$K! TB5,C0(42)%#]FW"BCXL60"@+JW,E314Z!-'"PJ($#Q$X%$Q/<09.&y M31D0*%#,H=/0S1FG;D#T '&F#!TV:=R@, .'!8BI5<^8K1%#1HH4($)L+?+$x M"-P]2$$D2 #639TV*U;LR+O7S!LY4-5H!0%C!PC%/,Y2'?.FCALZCM4$OJL@w MA-Z]:S=,2P:?T:!-8S=-#,H0U7+@@[9MB$.>.F#(H4@Y,>%V,PS)KHGQ/T(:R=>VBH;((/!V'"! C*ENG I5[&u M.O;N2<>P>3/'.5GH(TL&96$C!@B2)!&V5%-/1:6:55@MUM5788U5EF1IK=76t M6W'-51=GTO7U5V#O)6 88B@HME5CCX$0&5KH79;99B#@91QHHHU5VFFI4;4:s M;;#)AJ-M95B5VVZN4>AB=@E\AT((P E'7&=$)I#<[+G''7R?;;?"r M9T8F.5YY)?:P%8J579:" EL>]R1SSN$GG9'A*4F>>2FJ!T*5UQ&V77SSU><@q !?D8Fp o end -------------------------------------------------------------- (Saeko Hirabayashi)