Difference between revisions of "Append a space"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[Prepend]] a space | [[Prepend]] a space | ||
− | [[sed (editor)|sed]] s/ | + | [[sed (editor)|sed]] s/$/" "/ |
Revision as of 18:22, 2 July 2022
sed s/^/" "/
Prepend a space
sed s/$/" "/
Related
See also
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: