On Wed, 20 Jan 2021 14:14:40 +0000, Chris Elvidge wrote:
> On 20/01/2021 01:18 pm, Martin Gregorie wrote:
>> On Wed, 20 Jan 2021 12:18:16 +0000, A. Dumas wrote:
>>
>>> Martin Gregorie wrote:
>>>> In Raspbian Buster the binary is /usr/bin/mawk with awk and nawk as
>>>> aliases
>>>
>>> Not here, or did you not mean aliases to mawk? It's /usr/bin/awk ->
>>> /etc/alternatives/awk -> /usr/bin/gawk. /usr/bin/mawk is a separate
>>> binary with these properties:
>>>
>> Well, that is effectively aliases, just selective ones and is what I
>> have here. I've newer switched that alternative on my RPi, so I've been
>> running mawk as awk.
>>
>> Fedora does not use alternatives - just /usr/bin/gawk with /usr/bin/awk
>> as an alias.
>>
>>
>>
> /usr/bin/awk -> /etc/alternatives/awk -> /usr/bin/gawk Not aliases, soft
> links, AIUI
>
> alias awk='gawk' would not work if user not logged in (e.g in cron)
>
Indeed: that's what I meant.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|