sed-devel
[Top][All Lists]
Advanced

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

sed Debug


From: Vaughn A. Hart
Subject: sed Debug
Date: Mon, 25 Mar 2024 08:48:19 -0400

Hi,

I am having a hard time learning sed... and I'd like to know what you mean :

SED PROGRAM:

  /1/ s/1/3/

INPUT:   'STDIN' line 1

PATTERN: 1

COMMAND: /1/ s/1/3/

MATCHED REGEX REGISTERS

  regex[0] = 0-1 '1'

PATTERN: 3

END-OF-CYCLE:

3


Print the input sed program in canonical form, and annotate program
execution.


Thanks!


-Vaughn


-- 


Vaughn A. Hart
General Manager
Aegis IT, LLC
646-284-4291
vaughn@aegisitnyc.com
https://www.linkedin.com/in/vahart
https://github.com/vaughnhart


reply via email to

[Prev in Thread] Current Thread [Next in Thread]