#!/bin/sh anu init cat >text.txt <<EOL line 1 line 2 EOL anu add text.txt anu record -m "patch 1" cat >text.txt <<EOL line 1 line new line 2 EOL anu record -m "patch 2" anu reset
Result text.txt
line 1 line newline 2
JG36OBVV2TD4NQRG7R5VJWTI3NWZED2T5P44HEUKSH3ZTSJYIXVAC
Thanks, this is fixed now.
Result text.txt