From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e283979660f903f X-Google-Attributes: gid103376,public From: nasser@apldbio.com (Nasser Abbasi) Subject: test name clash on unix. was: GNAT 301a with Win95 Date: 1996/06/29 Message-ID: #1/1 X-Deja-AN: 162782382 sender: news@biosys.apldbio.COM references: <01bb5da2.dc327500$33668acd@iris.gomontana.com> original-sender: nasser@apldbio.com organization: Applied BioSystems newsgroups: comp.lang.ada Date: 1996-06-29T00:00:00+00:00 List-Id: From: dewar@cs.nyu.edu (Robert Dewar) ALERT ALERT! don't fall into the remarkably common trap of calling your main program test and then trying to execute it with the command test which in Unix will typically do nothing. We get this bug report all the time, once complete with a long diatribe about how GNAT was completely useless. (test is an internal shell command in Unix, either use some other name, or execute the program using ./test) :-) Yes, good suggestions. Also one can add "." to the $path (edit the .cshrc or .profile etc..) , make "." be the first in the path, and when one invokes test, the shell will first look in . which is the default current directory and use your "test" program , not the one in /usr/bin . I think it is not very smart of unix to call one of its images such a generic name as "test" . But again, this is unix, if they did not do such weired things, they will no longer be unix, but on the other hand this is why we love unix, it is just different, and can surprise one at any time, so it makes it interesting and more fun to work with it. thanks, Nasser -- Nasser Abbasi. C/C++/Ada Solaris. GeneAssist - A client/server application for Nucleic acid and protein sequence search and analysis. PE-Applied BioSystem division. email: nasser@apldbio.com MSEE(control), MSCS, MSCE, FM(Fide Chess Master 1.e4 !! 1-0 )