moresed
Posted to
bogusest
by Bradipo at Tue Apr 05 19:41:37 GMT 2022
view raw
$ cat token.sed
s/TOKEN/a\
b/
/NEKOT/c\
y\
z
$ cat input.txt
0
NEKOT
1
TOKEN
2
$ sed -f /tmp/token.sed input.txt
0
y
z
1
a
b
2
Recent Posts
tcl by kevin_walzer
6 days ago
openbsd by Bradipo
13 days ago
tcl by emiliano
17 days ago
tcl by de
17 days ago
tcl by dburns
27 days ago
tcl by kbk
33 days ago
tcl by Stu
36 days ago
tcl by Stu
36 days ago
tcl by Stu
50 days ago
tcl by mookie
53 days ago
Submit
New paste
Documentation
From Jabber