Mercurial > hg > nginx-site
comparison xml/en/docs/njs/cli.xml @ 2286:b9144a131eff
Corrected example in njs Command-line interface.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 27 Nov 2018 16:35:51 +0300 |
parents | 32ba43abf9cd |
children | bb0a2fbdc886 |
comparison
equal
deleted
inserted
replaced
2285:e58e7b2eff51 | 2286:b9144a131eff |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Command-line interface" | 9 <article name="Command-line interface" |
10 link="/en/docs/njs/cli.html" | 10 link="/en/docs/njs/cli.html" |
11 lang="en" | 11 lang="en" |
12 rev="2"> | 12 rev="3"> |
13 | 13 |
14 <section> | 14 <section> |
15 <para> | 15 <para> |
16 njs scripts development and debugging can be performed | 16 njs scripts development and debugging can be performed |
17 from the command-line. | 17 from the command-line. |
23 nginx objects | 23 nginx objects |
24 (<link doc="reference.xml" id="http">HTTP</link> and | 24 (<link doc="reference.xml" id="http">HTTP</link> and |
25 <link doc="reference.xml" id="stream">Stream</link>) | 25 <link doc="reference.xml" id="stream">Stream</link>) |
26 are not available in the utility. | 26 are not available in the utility. |
27 <example> | 27 <example> |
28 $ echo "2**3" | njs - | 28 $ echo "2**3" | njs -q |
29 8 | 29 8 |
30 | 30 |
31 $ njs | 31 $ njs |
32 >> var o = {a:[]} | 32 >> var o = {a:[]} |
33 undefined | 33 undefined |