Re: "sed" question

Liste des GroupesRevenir à cl awk 
Sujet : Re: "sed" question
De : toylet.toylet (at) *nospam* gmail.com (Mr. Man-wai Chang)
Groupes : comp.lang.awk
Date : 08. Mar 2024, 16:56:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usfcfm$1pd84$1@toylet.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla Thunderbird
On 8/3/2024 10:46 pm, Janis Papanagnou wrote:
On 08.03.2024 10:03, Mr. Man-wai Chang wrote:
>
The original Awk doesn't support regular expressions, right?
 Where did you get that from? - Awk without regexps makes little sense;
mind that the basic syntax of Awk programs is described as
   /pattern/ { action }
What would remain if there's no regexp patterns; string comparisons?
 
Because regex was not yet talked about back then??
 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.

Date Sujet#  Auteur
8 Mar 24 * Re: "sed" question13Grant Taylor
8 Mar 24 `* Re: "sed" question12Keith Thompson
8 Mar 24  +* Re: "sed" question10Mr. Man-wai Chang
8 Mar 24  i`* Re: "sed" question9Janis Papanagnou
8 Mar 24  i +* Re: "sed" question6Grant Taylor
8 Mar 24  i i+* Re: "sed" question4Mr. Man-wai Chang
12 Mar 24  i ii`* Re: "sed" question3Geoff Clare
12 Mar 24  i ii `* Re: "sed" question2Aharon Robbins
13 Mar 24  i ii  `- Re: "sed" question1Geoff Clare
9 Mar 24  i i`- Re: "sed" question1Janis Papanagnou
8 Mar 24  i `* Re: "sed" question2Mr. Man-wai Chang
9 Mar 24  i  `- Re: "sed" question1Janis Papanagnou
8 Mar 24  `- Re: "sed" question1Kaz Kylheku

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal