Prepend
Jump to navigation
Jump to search
Prepend a space at the beginning of lines:
sed s/^/" "/
prepend_space () { sed s/^/" "/ }
Related
See also
- Append, prepend
tee
,sponge
,append, prepend, tee --append
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: