CTR: ignore escape sequence warnings in awk script
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/529b819b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/529b819b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/529b819b Branch: refs/heads/TINKERPOP-1753 Commit: 529b819bb3cab5c24e7e61e955450f1d33d59625 Parents: 17f1dc4 Author: Daniel Kuppitz <daniel_kupp...@hotmail.com> Authored: Tue Aug 22 09:11:09 2017 -0700 Committer: Daniel Kuppitz <daniel_kupp...@hotmail.com> Committed: Tue Aug 22 09:11:09 2017 -0700 ---------------------------------------------------------------------- docs/postprocessor/postprocess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/529b819b/docs/postprocessor/postprocess.sh ---------------------------------------------------------------------- diff --git a/docs/postprocessor/postprocess.sh b/docs/postprocessor/postprocess.sh index 8d1fd92..b2d4971 100755 --- a/docs/postprocessor/postprocess.sh +++ b/docs/postprocessor/postprocess.sh @@ -24,7 +24,7 @@ TP_VERSION=$(cat pom.xml | grep -A1 '<artifactId>tinkerpop</artifactId>' | grep if [ -d "target/docs" ]; then find target/docs -name index.html | while read file ; do - awk -f "docs/postprocessor/processor.awk" "${file}" \ + awk -f "docs/postprocessor/processor.awk" "${file}" 2>/dev/null \ | perl -0777 -pe 's/<span class="comment">\/\*\n \*\/<\/span>//igs' \ | sed "s/x\.y\.z/${TP_VERSION}/g" \ > "${file}.tmp" && mv "${file}.tmp" "${file}"