Skip to content

Commit

Permalink
docs: fix performance doc gen
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Aug 19, 2023
1 parent bdbe548 commit 612d6b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ledger/genperf.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ echo "" >> perf.md

echo "### Stats" >> perf.md
echo "" >> perf.md
cat perf-stats.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' >> perf.md
cat perf-stats.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' | sed -e 's/hledger-cli/hledger/g' >> perf.md
echo "" >> perf.md

echo "### Balance" >> perf.md
echo "" >> perf.md
cat perf-bal.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' >> perf.md
cat perf-bal.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' | sed -e 's/hledger-cli/hledger/g' >> perf.md
echo "" >> perf.md

echo "### Register" >> perf.md
echo "" >> perf.md
cat perf-reg.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' >> perf.md
cat perf-reg.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' | sed -e 's/hledger-cli/hledger/g' >> perf.md
echo "" >> perf.md

echo "### Print" >> perf.md
echo "" >> perf.md
cat perf-print.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' >> perf.md
cat perf-print.md | sed -e 's/\.\/ledger/ledger-go/g' | sed -e 's/ledger /ledger-cli /g' | sed -e 's/hledger-cli/hledger/g' >> perf.md
echo "" >> perf.md

rm perf-stats.md perf-bal.md perf-reg.md perf-print.md

0 comments on commit 612d6b0

Please sign in to comment.