Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 12:30:01 -0800 (PST)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/35156: suggestion: hard link /usr/bin/awk to /usr/bin/gawk
Message-ID:  <200202202030.g1KKU1v44684@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/35156; it has been noted by GNATS.

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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202202030.g1KKU1v44684>