aboutsummaryrefslogtreecommitdiff
path: root/regenerate-symbol-docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regenerate-symbol-docs.sh')
-rwxr-xr-xregenerate-symbol-docs.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/regenerate-symbol-docs.sh b/regenerate-symbol-docs.sh
index 96b23c9d8..05548bdb0 100755
--- a/regenerate-symbol-docs.sh
+++ b/regenerate-symbol-docs.sh
@@ -24,7 +24,7 @@ SYMBOLS_FILE="doc/libNX_X11/symbols/libNX_X11::symbols.txt"
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_internally.txt"
echo "Scanning for libNX_X11 symbols: in libNX_X11 internally: $DOC_FILE"
cd nx-X11/lib/X11/
-cat "../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read -r symbol; do
+grep -v -E "^#" "../../../$SYMBOLS_FILE" | while read -r symbol; do
echo
echo "#### $symbol ####"
@@ -36,7 +36,7 @@ cd - 1>/dev/null
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_nxagent.txt"
echo "Scanning for libNX_X11 symbols: in hw/nxagent: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/
-cat "../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read -r symbol; do
+grep -v -E "^#" "../../../../../$SYMBOLS_FILE" | while read -r symbol; do
echo
echo "#### $symbol ####"
@@ -48,7 +48,7 @@ cd - 1>/dev/null
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_nxcompext.txt"
echo "Scanning for libNX_X11 symbols: in hw/nxagent/compext: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/compext/
-cat "../../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read -r symbol; do
+grep -v -E "^#" "../../../../../../$SYMBOLS_FILE" | while read -r symbol; do
echo
echo "#### $symbol ####"
@@ -65,7 +65,7 @@ SYMBOLS_FILE="doc/nxcompext/symbols/nxcompext::symbols.txt"
DOC_FILE="doc/nxcompext/symbols/nxcompext::symbol-usage_internally.txt"
echo "Scanning for nxcompext symbols: in hw/nxagent/compext internally: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/compext/
-cat "../../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read -r symbol; do
+grep -v -E "^#" "../../../../../../$SYMBOLS_FILE" | while read -r symbol; do
echo
echo "#### $symbol ####"
@@ -77,7 +77,7 @@ cd - 1>/dev/null
DOC_FILE="doc/nxcompext/symbols/nxcompext::symbol-usage_nxagent.txt"
echo "Scanning for nxcompext symbols: in hw/nxagent: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/
-cat ../../../../../$SYMBOLS_FILE | grep -v -E "^#" | while read -r symbol; do
+grep -v -E "^#" "../../../../../$SYMBOLS_FILE" | while read -r symbol; do
echo
echo "#### $symbol ####"