Difference between revisions of "Prepend"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
== See also ==
 
== See also ==
 
* {{Append}}
 
* {{Append}}
 +
* {{tee}}
  
 
[[Category:Computing]]
 
[[Category:Computing]]

Revision as of 05:06, 15 September 2022

Prepend a space at the beginning of lines:

   sed s/^/" "/


prepend_space () {
         sed s/^/" "/
}


Related

See also

Advertising: