Difference between revisions of "Bash indent"
Jump to navigation
Jump to search
(Created page with "``` export HAPROXY_CONFIG=$(cat dev.haproxy.cfg) # export HAPROXY_CONFIG=$(indent() { sed 's/^/ /'; }; echo -n "$HAPROXY_CONFIG" | indent) # export HAPROXY_CONFIG=$(echo -e "...") |
(No difference)
|
Revision as of 22:49, 7 January 2023
export HAPROXY_CONFIG=$(cat dev.haproxy.cfg) # export HAPROXY_CONFIG=$(indent() { sed 's/^/ /'; }; echo -n "$HAPROXY_CONFIG" | indent) # export HAPROXY_CONFIG=$(echo -e "|\n$HAPROXY_CONFIG")