Difference between revisions of "Prepend"
Jump to navigation
Jump to search
(Created page with " Append a space at the beginning of lines: sed s/^/" "/") |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Prepend a space at the beginning of lines: | |
− | sed s/^/" "/ | + | [[sed s]]/[[^]]/" "/ |
+ | |||
+ | |||
+ | prepend_space () { | ||
+ | sed s/^/" "/ | ||
+ | } | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[Bash: alias|alias]]</code> | ||
+ | * [[function]] | ||
+ | * [[ppb]] | ||
+ | |||
+ | == See also == | ||
+ | * {{Append}} | ||
+ | * {{tee}} | ||
+ | * {{sed}} | ||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 11:48, 13 February 2024
Advertising: