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 oldlaptop
1 days ago
tcl by Julian Noble
7 days ago
tcl by oldlaptop
31 days ago
tcl by dandyn
35 days ago
tcl by oldlaptop
38 days ago
tcl by apn
40 days ago
tcl by rmax
43 days ago
tcl by kevin_walzer
47 days ago
tcl by Bradipo
62 days ago
tcl by Stu
83 days ago
Submit
New paste
Documentation
From Jabber