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

Re: Read command field seperators in Bash



On 2010-02-14 19:23 +0100, Lisi wrote:

> On Sunday 14 February 2010 18:11:25 Stephen Powell wrote:
>>
>> awk is a virtual package provided by both the real package mawk and the
>> real package gawk.  On my Lenny system, mawk is installed, but gawk is not.
>> Most awk scripts will work fine with mawk.  But occasionally an awk script
>> will use features that don't work with the mawk implementation of awk but
>> will work with the gawk implementation of awk.
>>
>>    aptitude install mawk_ gawk
>>
>> will replace mawk with gawk.  It is possible to have both installed,
>> in which case gawk seems to override mawk.

This is handled by the alternatives system, gawk has a higher priority
than mawk so if you don't take any measures it will provide /usr/bin/awk.
See update-alternatives(8).

> Mmm.  But I have only gawk, and installed neither.  Nor any other awk.  It 
> probably depends which set-up one asks for during installation.

Well, mawk has been of priority 'required' for a very long time, so I
guess you removed it manually at some point.  Any method to install
Debian will install all required packages, AFAIK.

Sven


Reply to: