parent
539c487bf0
commit
88fd9418a3
2
snippy
2
snippy
@ -83,7 +83,7 @@ bashdown() {
|
|||||||
# Simplified version of bashdown, use echo and bash var search and replace
|
# Simplified version of bashdown, use echo and bash var search and replace
|
||||||
# Better handling of symbol char
|
# Better handling of symbol char
|
||||||
bashdown_simple() {
|
bashdown_simple() {
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line || [[ -n "$line" ]]; do
|
||||||
line="$(eval "echo \"${line//\"/\\\"}\"")"
|
line="$(eval "echo \"${line//\"/\\\"}\"")"
|
||||||
echo "$line"
|
echo "$line"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user