awk/gawk

Stephen Montgomery-Smith stephen at math.missouri.edu
Fri May 16 14:25:56 PDT 2003


Ruslan Ermilov wrote:

> On Fri, May 16, 2003 at 10:38:51AM -0700, Bruce A. Mah wrote:
>
> >A quickie question: Could someone tell me why, on RELENG_4, we have a
> >gawk(1) manpage but no gawk executable?  Given the manpage links, and
> >the fact that our system awk is really built from gawk sources, I'd
> >expect to have a link from /usr/bin/gawk to /usr/bin/awk (or vice
> >versa).
> >
>
> Perhaps because sheldonh@ was lazy at the time to handle this
> properly in src/gnu/usr.bin/awk/Makefile,v 1.14.  It should
> have either be imported as doc/awk.1, as it was before, or
> the Makefile be tweaked like in other similar situations:
>
> /bin/csh/Makefile:
> csh.1: tcsh.man
> 	ln -sf ${.ALLSRC} ${.TARGET}
>
> No, I don't think that having /usr/bin/gawk is a good idea.
>

Shouldn't one also do s/gawk/awk to the awk.1 man page as well?




-- 
Stephen Montgomery-Smith
stephen at math.missouri.edu
http://www.math.missouri.edu/~stephen



More information about the freebsd-stable mailing list