Sujet : Re: "sed" question
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.awkDate : 09. Mar 2024, 03:15:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usggn5$20n50$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 08.03.2024 16:56, Mr. Man-wai Chang wrote:
On 8/3/2024 10:46 pm, Janis Papanagnou wrote:
>
Stable Awk (1985) was released 1987. The (initial) old Awk (1977) was
released 1979. Before that tool we had Sed (1974), and before that we
had Ed and Grep (1973). My perception is that regexps were there as a
basic concept of UNIX in all these tools, so why should Awk be exempt.
According to the authors Awk was designed to see how Sed and Grep could
be generalized.
That part of history is beyond me. Sorry... my fault for not doing a check.
The mistake may stem from a myth (I heard it before already); it may
have been misinterpreted where it's said that in the first Awk there
was no match function (which is true, but it means the concrete match()
function not the abstract function of a (regexp) pattern match).
Janis