fix bug reading file
[tee-unique] / appendu-function
index 8b03b0fb5f77af89f95eb5bdb83a33d8f4c52398..00b4cf365c18c99e4ec4b24b9d95092d608cd39b 100644 (file)
@@ -75,7 +75,8 @@ LINE_SETs are treated the same.
         sed -ie '$a\' "$file"
         # command substitution removes any trailing newlines, so we have to add
         # a non-newline ending, we randomly chose "b", then remove it.
-        local content=$(cat "$file"; echo b) content=${content%b}
+        local content=$(cat "$file"; echo b)
+        content=${content%b}
     fi
     
     # we aren't using regex because we want to match strings,