Difference between revisions of "Prepend"

From wikieduonline
Jump to navigation Jump to search
 
Line 12: Line 12:
 
* <code>[[Bash: alias|alias]]</code>
 
* <code>[[Bash: alias|alias]]</code>
 
* [[function]]
 
* [[function]]
 +
* [[ppb]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:48, 13 February 2024

Prepend a space at the beginning of lines:

   sed s/^/" "/


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


Related[edit]

See also[edit]

Advertising: