Difference between revisions of "Prepend"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
Prepend a space at the beginning of lines:
 
Prepend a space at the beginning of lines:
 
     [[sed s]]/[[^]]/" "/
 
     [[sed s]]/[[^]]/" "/
 +
 +
 +
prepend_space () {
 +
          sed s/^/" "/
 +
}
 +
  
 
== Related ==
 
== Related ==

Revision as of 11:29, 10 August 2022

Prepend a space at the beginning of lines:

   sed s/^/" "/


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


Related

See also

Advertising: