feat: use sed to write reports to hard-coded line

in README
This commit is contained in:
teutat3s 2024-04-07 16:22:40 +02:00
parent 1412106e10
commit cd153113b4
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -48,5 +48,6 @@ hledger-web --file ./finances.hledger
Writing a HTML table to the README
```
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html --yearly --row-total >> README.md
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html --yearly --row-total | sed -i '8r /dev/stdin' README.md
sed -i '14,17d' README.md
```