All posts for tag "sed"
Total 1 posts
📄 If Else In Sed
C:2022-12-21
M:2022-12-21
If-else statement in linux command sed
use t or T to control the sed workflow.(more)
1 2 sed -i "s/animations = true/animations = false/;t;\ s/animations = false/animations = true/" "$picom_config" Reference How to toggle a comment in a line using sed Sed/Branching-and-flow-control