Skip to content

Commit

Permalink
trurl.1 -> trurl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmealey committed Dec 16, 2024
1 parent 5739f84 commit 0bc2227
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions completions/generate_completions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@


if [ -z "$1" ]; then
echo "expected a trurl.1 file to be passed in..."
echo "expected a trurl.md file to be passed in..."
exit 1
fi

TRURL_1_FILE=$1
TRURL_MD_FILE=$1



ALL_FLAGS="$(sed -n \
-e 's/"//g' \
-e '/\# URL COMPONENTS/q;p' \
< "${TRURL_1_FILE}" \
< "${TRURL_MD_FILE}" \
| grep "##" \
| awk '{printf "%s%s%s%s ", $2, $3, $4, $5}')"

Expand All @@ -48,7 +48,7 @@ TRURL_COMPONENT_LIST="$(sed -n \
-e 's/"//g' \
-e '1,/\# URL COMPONENTS/ d' \
-e '/\# JSON output format/q;p' \
< "${TRURL_1_FILE}" \
< "${TRURL_MD_FILE}" \
| grep "##" \
| awk '{printf "\"%s\" ", $2}')"

Expand Down

0 comments on commit 0bc2227

Please sign in to comment.