Difference between revisions of "Sed -e"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
commands. | commands. | ||
+ | [[ANSI escape codes]]: | ||
+ | sed -e 's/\x1b\[[0-9;]*m//g' | ||
== See also == | == See also == | ||
* {{sed}} | * {{sed}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 10:23, 8 December 2023
-e script Add the editing commands specified by the script option-argument to the end of the script of editing commands.
sed -e 's/\x1b\[[0-9;]*m//g'
See also[edit]
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: