diff --git a/action.sh b/action.sh index d0bb88c..50fc2f4 100755 --- a/action.sh +++ b/action.sh @@ -155,7 +155,7 @@ function notesinsert { PASSFILE=$2 # Create temporary file from $PASSFILE - sed -E 's/(.*)/User: $USER\nPass: \1/' $PASSFILE > .$PASSFILE.tmp + sed -E "s/(.*)/User: $USER\nPass: \1\n/" $PASSFILE > .$PASSFILE.tmp # Insert this edited file into the datasheet sed -i "/$TAIL/ {