commit: fe912438df94fbf1b26b297ed287e1527c60a263
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 19:40:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 19:40:44 2022 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=fe912438
eapi_usage.sh: add <pre> tags to output for use in README.html in eapi-usage/
Signed-off-by: Sam James <sam <AT> gentoo.org>
eapi_usage.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eapi_usage.sh b/eapi_usage.sh
index a4a47ac..94bdfcb 100755
--- a/eapi_usage.sh
+++ b/eapi_usage.sh
@@ -7,6 +7,7 @@
#
#pinspect eapi_usage /usr/portage
+echo "<pre>"
find /usr/portage/metadata/md5-cache -type f ! -name '*.gz' \
-exec grep -h '^EAPI=' '{}' + \
| awk '
@@ -23,3 +24,4 @@ find /usr/portage/metadata/md5-cache -type f ! -name '*.gz' \
echo
echo "Date generated: $(date -u '+%Y-%m-%d %H:%M:%S %Z')"
+echo "</pre>"