Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
development:linux:misc_commands [2023/04/12 19:58]
kalenpw
development:linux:misc_commands [2023/04/12 19:58] (current)
kalenpw
Line 9: Line 9:
 # mac # mac
 find . -type f -name "*.txt" -print0 | xargs -0 sed -i "" -E 's!<color (#([[:digit:]]|[A-Fa-f])+)>(.*)</color>!<font inherit/inherit;;\1;;inherit>\3</font>!g' find . -type f -name "*.txt" -print0 | xargs -0 sed -i "" -E 's!<color (#([[:digit:]]|[A-Fa-f])+)>(.*)</color>!<font inherit/inherit;;\1;;inherit>\3</font>!g'
- 
 # linux # linux
 find . -type f -name "*.txt" -print0 | xargs -0 sed -i -E 's!<color (#([[:digit:]]|[A-Fa-f])+)>(.*)</color>!<font inherit/inherit;;\1;;inherit>\3</font>!g' find . -type f -name "*.txt" -print0 | xargs -0 sed -i -E 's!<color (#([[:digit:]]|[A-Fa-f])+)>(.*)</color>!<font inherit/inherit;;\1;;inherit>\3</font>!g'