Remove leading '$' from docs that are interfering with copy/paste
Fixes: https://github.com/bazelbuild/bazel/issues/2399
Change-Id: I21d00430cdf7ece72f532a1cb1be94e9b07a0114
PiperOrigin-RevId: 152001779
diff --git a/site/versions/master/docs/query.html b/site/versions/master/docs/query.html
index c3802b4..dbe80e4 100644
--- a/site/versions/master/docs/query.html
+++ b/site/versions/master/docs/query.html
@@ -105,7 +105,7 @@
Note that this quoting is in addition to any quoting that may
be required by your shell. e.g.
</p>
- <pre>% bazel query ' "//foo:bar=wiz" ' # single-quotes for shell, double-quotes for Bazel.</pre>
+ <pre>bazel query ' "//foo:bar=wiz" ' # single-quotes for shell, double-quotes for Bazel.</pre>
<p>
Keywords, when quoted, are treated as ordinary words, thus
@@ -463,8 +463,8 @@
further processing. For example:
</p>
<pre>
- % bazel query deps(//my:target) --output=label | grep ... | sed ... | awk ... > foo
- % bazel query "kind(cc_binary, set($(<foo)))"
+ bazel query deps(//my:target) --output=label | grep ... | sed ... | awk ... > foo
+ bazel query "kind(cc_binary, set($(<foo)))"
</pre>
<p>
In the next example, <code>kind(cc_library,
@@ -473,9 +473,9 @@
an <code>awk</code> program.
</p>
<pre>
- % bazel query 'deps(//some_dir/foo:main)' --output maxrank |
+ bazel query 'deps(//some_dir/foo:main)' --output maxrank |
awk '($1 < 5) { print $2;} ' > foo
- % bazel query "kind(cc_library, set($(<foo)))"
+ bazel query "kind(cc_library, set($(<foo)))"
</pre>
<p>
In these examples, <code>$(<foo)</code> is a shorthand
@@ -1409,11 +1409,11 @@
<p>
<pre>
- $ # Querying over all members of //external returns the repository.
- $ bazel query 'kind(maven_jar, //external:*)'
+ # Querying over all members of //external returns the repository.
+ bazel query 'kind(maven_jar, //external:*)'
//external:other-repo
- $ # ...but the repository is not a dependency.
- $ bazel query 'kind(maven_jar, deps(//foo:bar))'
+ # ...but the repository is not a dependency.
+ bazel query 'kind(maven_jar, deps(//foo:bar))'
INFO: Empty results
</pre>