Subject: Re: tnftpd on Linux and needing a yacc
To: Luke Mewburn <lukem@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/02/2004 17:09:25
On Sat, 3 Apr 2004, Luke Mewburn wrote:

> Is "GNU yacc" (bison ?) trying to be "helpful" and name the files
> as foo.[ch] from foo.y, instead of y.tab.c/y.tab.h ?

It appears to make foo.tab.[ch] as seen here:

reed@puget:/usr/pkgsrc/net/tnftpd/work.puget$ find . -name "y.tab*"

reed@puget:/usr/pkgsrc/net/tnftpd/work.puget$ find . -name "*.y*"
./tnftpd-20031217/src/ftpcmd.y

reed@puget:/usr/pkgsrc/net/tnftpd/work.puget$ find . -name "ftpcmd.*"
./tnftpd-20031217/src/ftpcmd.y
./tnftpd-20031217/src/ftpcmd.tab.c
./tnftpd-20031217/src/ftpcmd.tab.h

reed@puget:/usr/pkgsrc/net/tnftpd/work.puget$ find . -name "ftpcmd.*" -ls
228577   38 -rw-r--r--   1 reed     reed        37944 Dec  9 17:52
./tnftpd-20031217/src/ftpcmd.y
228599   89 -rw-r--r--   1 reed     reed        90201 Apr  2 10:41
./tnftpd-20031217/src/ftpcmd.tab.c
228600    5 -rw-r--r--   1 reed     reed         4426 Apr  2 10:41
./tnftpd-20031217/src/ftpcmd.tab.h


   Jeremy C. Reed
   http://www.reedmedia.net/