X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Markus R. Keßler" Newsgroups: comp.os.msdos.djgpp Subject: Re: grep -r Date: Tue, 23 Aug 2005 08:33:44 +0100 Organization: SAG Lines: 31 Message-ID: <430AD158.D69CE6D@uni.de> References: <1124767769 DOT 062864 DOT 325260 AT g47g2000cwa DOT googlegroups DOT com> NNTP-Posting-Host: demm3wac.ww100.siemens.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.mch.sbs.de 1124778822 18617 139.21.116.126 (23 Aug 2005 06:33:42 GMT) X-Complaints-To: abuse AT siemens DOT de NNTP-Posting-Date: Tue, 23 Aug 2005 06:33:42 +0000 (UTC) X-Mailer: Mozilla 4.08 [de] (Win95; I; 16bit) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com bdeck schrieb: > Does grep -r work in DJGPP? Definitely _YES_. Example: [root AT server ~] # grep -r argv . ./MEMCOPY.C:main(int argc, char **argv) ./MEMCOPY.C: strncpy(quell_datei,argv[1],79); quell_datei[79]='\0'; ./MEMCOPY.C: if(argc>2 && strcmp(argv[2],"/i")!=0) { ./MEMCOPY.C: strncpy(ziel_datei,argv[2],79); ziel_datei[79]='\0'; ./MEMCOPY.C: if(strcmp(argv[argc-1],"/i")==0) info='j'; else info='n'; ./neu1/test.c:// main(int argc, **char argv) { [root AT server ~] # > The FS is FAT32, so obviously permissions aren't the real issue. ??? Same here. Best regards, Markus -- Please reply to group only. For private email please use http://www.dipl-ing-kessler.de/email.htm