Bug Fix, better fix for "add does not escape line breaks"

Now removes windows and unix style line breaks. Each test has a windows
and a unix style line break.
This commit is contained in:
Paul Mansfield
2009-09-04 12:23:48 +01:00
parent 229737bd2f
commit f44bcfb067
2 changed files with 13 additions and 9 deletions

View File

@@ -244,7 +244,7 @@ cleaninput()
{
# Cleanup the input
# Replace newlines with spaces
input=`echo $input | tr -d '\n'`
input=`echo $input | tr -d '\r|\n'`
}
archive()