[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Depends: awk -- Is that required?

On Wed, Nov 09, 2005 at 06:43:51PM -0700, Bob Proulx wrote:
> I need a clarification because I am confused.  If I have a script that
> uses awk do I need the package to "Depends: awk"?  Or is awk like
> basename where we are able to assume it is on the system without any
> explicit dependencies?
> I see that many packages do "Depends: awk".  But awk is an alternative
> and mawk is "Priority: required" so I would not think so.  But gawk
> provides awk and is "Priority: optional" but with a higher alternative
> priority too and so that "required" mawk is almost never used.  (I
> always install gawk as awk for its better features.)
> If the package used gawk specific features then the decision would be
> easy.  It would need to depend upon gawk.  But it only uses basic awk
> features and so any of the alternatives is sufficient.
> Thanks for you knowledge in this.

I suspect that it is not necessary:

$ apt-cache show mawk |grep "Provides\|Priority"
Priority: required
Provides: awk


Roberto C. Sanchez

Attachment: pgpe9_lFGtu2D.pgp
Description: PGP signature

Reply to: