Difference between revisions of "Prepend"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users not shown) | |||
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 == | ||
− | * <code>[[alias]]</code> | + | * <code>[[Bash: alias|alias]]</code> |
+ | * [[function]] | ||
+ | * [[ppb]] | ||
== See also == | == See also == | ||
* {{Append}} | * {{Append}} | ||
+ | * {{tee}} | ||
+ | * {{sed}} | ||
[[Category:Computing]] | [[Category:Computing]] |
Latest revision as of 11:48, 13 February 2024
Advertising: