From nobody@FreeBSD.org  Wed Feb 20 12:04:13 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 35A7E37B404
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Feb 2002 12:04:13 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1KK4DG37093;
	Wed, 20 Feb 2002 12:04:13 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202202004.g1KK4DG37093@freefall.freebsd.org>
Date: Wed, 20 Feb 2002 12:04:13 -0800 (PST)
From: "Eric S. Van Gyzen" <eric@stat.duke.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
X-Send-Pr-Version: www-1.0

>Number:         35156
>Category:       gnu
>Synopsis:       suggestion: hard link /usr/bin/awk to /usr/bin/gawk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 12:10:01 PST 2002
>Closed-Date:    Tue Aug 13 09:55:00 PDT 2002
>Last-Modified:  Tue Aug 13 09:55:00 PDT 2002
>Originator:     Eric S. Van Gyzen
>Release:        4.4-STABLE
>Organization:
>Environment:
N/A
>Description:
FreeBSD's awk is GNU awk, but the gawk command doesn't exist (in the base system).  Some Linux binaries assume that "gawk" exists.  Consider linking /usr/bin/awk to /usr/bin/gawk.  Granted, this would conflict with ports/lang/gawk, but perhaps the port should be removed in favor of keeping src/contrib/awk up to date.
>How-To-Repeat:
N/A
>Fix:
N/A
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: "Eric S. Van Gyzen" <eric@stat.duke.edu>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
Date: Wed, 20 Feb 2002 20:43:56 +0200

 On Wed, Feb 20, 2002 at 12:04:13PM -0800, Eric S. Van Gyzen wrote:
 > 
 > >Number:         35156
 > >Category:       gnu
 > >Synopsis:       suggestion: hard link /usr/bin/awk to /usr/bin/gawk
 > >Description:
 > FreeBSD's awk is GNU awk, but the gawk command doesn't exist (in the
 > base system).  Some Linux binaries assume that "gawk" exists.
 > Consider linking /usr/bin/awk to /usr/bin/gawk.  Granted, this would
 > conflict with ports/lang/gawk, but perhaps the port should be removed
 > in favor of keeping src/contrib/awk up to date.
 
 Well, FreeBSD's awk is GNU awk in 4.x only now; Bell Labs' awk was imported
 into -CURRENT a while ago.  So, this hardlink should only exist in 4.x,
 which makes it a somewhat less than perfect solution.
 
 In any case, FreeBSD's (GNU) awk in 4.x is a bit outdated, so if people
 really have scripts that require (or assume) GNU awk, it is up to said
 people to make the decision - symlink /usr/bin/gawk -> awk on their
 system (symlink for the benefit of survival over the next installworld)
 or install ports/lang/gawk and be done with it :)
 
 At least, this is my personal opinion; others are welcome to voice theirs.
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 "yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.

From: Sheldon Hearn <sheldonh@starjuice.net>
To: Peter Pentchev <roam@ringlet.net>
Cc: bug-followup@freebsd.org
Subject: Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk 
Date: Fri, 22 Feb 2002 16:16:13 +0200

 On Wed, 20 Feb 2002 12:30:01 PST, Peter Pentchev wrote:
 
 >  Well, FreeBSD's awk is GNU awk in 4.x only now; Bell Labs' awk was imported
 >  into -CURRENT a while ago.  So, this hardlink should only exist in 4.x,
 >  which makes it a somewhat less than perfect solution.
 
 As the originator says, such a hardlink would make life difficult for
 users of the port.
 
 And the suggestion to keep gawk in the base system up to date and do
 away with the port isn't feasible.  There's almost always going to be a
 latest version that we'd rather have folks play with from ports, rather
 than inflicting as yet unknown code on all stable users.
 
 Ciao,
 Sheldon.

From: Peter Pentchev <roam@ringlet.net>
To: Sheldon Hearn <sheldonh@starjuice.net>
Cc: bug-followup@freebsd.org
Subject: Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
Date: Fri, 22 Feb 2002 16:18:46 +0200

 On Fri, Feb 22, 2002 at 04:16:13PM +0200, Sheldon Hearn wrote:
 > 
 > 
 > On Wed, 20 Feb 2002 12:30:01 PST, Peter Pentchev wrote:
 > 
 > >  Well, FreeBSD's awk is GNU awk in 4.x only now; Bell Labs' awk was imported
 > >  into -CURRENT a while ago.  So, this hardlink should only exist in 4.x,
 > >  which makes it a somewhat less than perfect solution.
 > 
 > As the originator says, such a hardlink would make life difficult for
 > users of the port.
 > 
 > And the suggestion to keep gawk in the base system up to date and do
 > away with the port isn't feasible.  There's almost always going to be a
 > latest version that we'd rather have folks play with from ports, rather
 > than inflicting as yet unknown code on all stable users.
 
 Okay, maybe I did not make myself quite clear :)  My personal opinion
 was expressed in the second paragraph, where I said that the link should
 be made only by people who really think they need it, not by everyone,
 not by FreeBSD itself.  It seems that the originator kind of agrees with
 that, or at least that's how I interpret his response to... errm oops!
 It's just now that I see that I have not really forwarded his response
 to GNATS or even the list..
 
 Stay tuned for a forwarded message from the submitter; I think this PR
 should be closed after that message is filed into the audit trail.
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 What would this sentence be like if pi were 3?

From: Peter Pentchev <roam@ringlet.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
Date: Fri, 22 Feb 2002 16:20:21 +0200

 Yeah, leave it to me to not notice a message addressed to me only,
 and not to GNATS too..  Forwarding a message from the PR originator
 to GNATS to get it into the audit trail.
 
 (Hopefully this does not count as forwarding personal e-mail
  to a list; I do believe that the submitter told me nothing that
  he would not have told others :)
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 "yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.
 
 ----- Forwarded message from "Eric S. Van Gyzen" <eric@stat.duke.edu> -----
 
 From: "Eric S. Van Gyzen" <eric@stat.duke.edu>
 Organization: Duke University, ISDS
 To: Peter Pentchev <roam@ringlet.net>
 Subject: Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
 Date: Wed, 20 Feb 2002 16:32:12 -0500
 In-Reply-To: <20020220204356.J334@straylight.oblivion.bg>
 
 Peter Pentchev wrote:
 > On Wed, Feb 20, 2002 at 12:04:13PM -0800, Eric S. Van Gyzen wrote:
 > > >Synopsis:       suggestion: hard link /usr/bin/awk to /usr/bin/gawk
 >
 > Well, FreeBSD's awk is GNU awk in 4.x only now; Bell Labs' awk was
 > imported into -CURRENT a while ago.  So, this hardlink should only exist
 > in 4.x, which makes it a somewhat less than perfect solution.
 
 Oh, that changes matters.  I agree that it is less than perfect; when the 
 5- branch becomes -STABLE, ports/lang/gawk will be the only solution, so I 
 should start doing that now.
 
 Thanks for the help.  I really should track -CURRENT...
 
 -Eric
 
 -- 
 Eric S. Van Gyzen                                 919.684.5419
 Sr Systems Programmer                       eric@stat.duke.edu
 ISDS, Duke University                   220 Old Chemistry Bldg
 PGP Public Key:  http://www.stat.duke.edu/~vangyzen/pgpkey.asc
 
 
 ----- End forwarded message -----
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: dd 
Responsible-Changed-When: Fri Mar 8 20:10:53 PST 2002 
Responsible-Changed-Why:  
David seems to have kind-of sort-of done this in -current, so he should 
decide what to do with this PR. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35156 
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Tue Aug 13 09:52:00 PDT 2002 
State-Changed-Why:  
I'll take this off of obrien's back. We won't have the symlink in 
4-stable for the reasons presented in the audit trail: 5-current has bwk 
awk, conflicts with the gawk port, and my personal opinion is that Linux 
programs explicitly requiring gawk have a bug :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35156 
>Unformatted:
