Compare commits
No commits in common. "6e827d7bd9b0413a2428d893543638703a7157dc" and "6d9321319b75bcf5eb21159ceae8f35912ae3ab5" have entirely different histories.
6e827d7bd9
...
6d9321319b
@ -55,13 +55,11 @@ getDestFile() {
|
||||
destfile="${filename##*/}"
|
||||
destfile="${destfile%.*}"
|
||||
fi
|
||||
if (( ${destinationascii["$destination"]} ))
|
||||
then
|
||||
destfile=${destfile//$'\n'/::AtOM:NewLine:SQL:Inline::}
|
||||
echo "$destfile" >&${toascii[1]}
|
||||
read -r -u${toascii[0]} destfile
|
||||
destfile=${destfile//::AtOM:NewLine:SQL:Inline::/$'\n'}
|
||||
fi
|
||||
destfile=$(sanitizeFile "$destfile")
|
||||
destfile=${destfile//$'\n'/::AtOM:NewLine:SQL:Inline::}
|
||||
if (( ${destinationascii["$destination"]} ))
|
||||
then
|
||||
echo "$destfile" >&${toascii[1]}
|
||||
read -r -u${toascii[0]} destfile
|
||||
fi
|
||||
}
|
||||
|
||||
@ -26,9 +26,6 @@ sanitizeFile() {
|
||||
string=${string/#+(.)/}
|
||||
string=${string/%+(.)/}
|
||||
fi
|
||||
|
||||
# We can't have newlines either
|
||||
string=${string//$'\n'/ }
|
||||
fi
|
||||
echo "$string"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user