Skip to content

Commit

Permalink
docs: update tools genearate
Browse files Browse the repository at this point in the history
  • Loading branch information
fda77 committed Sep 28, 2024
1 parent 77cf1ed commit b0aa1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/host-tools/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for dir in $(find "$INPWD" -maxdepth 1 -mindepth 1 -type d | sort); do
anc="${tool//_/-}"
echo -e "\n * **[$itm]($tool.md)<a id='${anc%-cgi}'></a>**<br>"

echo > "$MDPWD/$tool.md"
touch "$MDPWD/$tool.md"
while [ "0$(awk 'END{print NR}' "$MDPWD/$tool.md" 2>/dev/null)" -lt 2 ]; do echo >> "$MDPWD/$tool.md"; done
sed "1c# $itm" -i "$MDPWD/$tool.md"

Expand Down

0 comments on commit b0aa1e3

Please sign in to comment.