We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sed
awk
dbt-profiler/update-relation-profile.sh
Line 14 in 5c7002e
Current: PROFILE=$(echo "$RUN_OPERATION_OUTPUT" | sed -n '/{% docs/,$p')
PROFILE=$(echo "$RUN_OPERATION_OUTPUT" | sed -n '/{% docs/,$p')
Suggested replacement:
PROFILE=$(echo "$RUN_OPERATION_OUTPUT" | awk '/{%.docs.*%}$/{flag=1} flag; /{%.enddocs.%}/{flag=0}')
The text was updated successfully, but these errors were encountered:
@ian-lewis-d Thanks so much for this! I never liked the hacky sed I came up with, this works much better :) Merged in #73
Sorry, something went wrong.
No branches or pull requests
dbt-profiler/update-relation-profile.sh
Line 14 in 5c7002e
Current:
PROFILE=$(echo "$RUN_OPERATION_OUTPUT" | sed -n '/{% docs/,$p')
Suggested replacement:
PROFILE=$(echo "$RUN_OPERATION_OUTPUT" | awk '/{%.docs.*%}$/{flag=1} flag; /{%.enddocs.%}/{flag=0}')
The text was updated successfully, but these errors were encountered: