Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
b3186921
Commit
b3186921
authored
Apr 14, 2016
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend parts on heredoc in vcl.inline.
parent
90afddae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
varnish-cli.rst
doc/sphinx/reference/varnish-cli.rst
+7
-4
No files found.
doc/sphinx/reference/varnish-cli.rst
View file @
b3186921
...
@@ -51,15 +51,18 @@ Syntax
...
@@ -51,15 +51,18 @@ Syntax
------
------
Commands are usually terminated with a newline. Long command can be
Commands are usually terminated with a newline. Long command can be
entered using sh style *here documents*
. The format of here-documents
entered using sh style *here documents*
(colloquially heredocs).
is::
The format of here-documents
is::
<< word
<< word
here document
here document
word
word
.. :ref:`heredoc`
*word* can be any continuous string chosen to make sure it doesn't
*word* can be any continuous string chosen to make sure it doesn't
appear naturally in the following *here document*.
appear naturally in the following *here document*. Commonly "EOF"
is used.
When using the here document style of input there are no restrictions
When using the here document style of input there are no restrictions
on length. When using newline-terminated commands maximum length is
on length. When using newline-terminated commands maximum length is
...
@@ -105,7 +108,7 @@ vcl.load <configname> <filename> [auto|cold|warm]
...
@@ -105,7 +108,7 @@ vcl.load <configname> <filename> [auto|cold|warm]
Compile and load the VCL file under the name provided.
Compile and load the VCL file under the name provided.
vcl.inline <configname> <quoted_VCLstring> [auto|cold|warm]
vcl.inline <configname> <quoted_VCLstring> [auto|cold|warm]
Compile and load the VCL data under the name provided.
Compile and load the VCL data under the name provided.
Multi-line VCL can be input using :ref:`heredoc`.
vcl.use <configname>
vcl.use <configname>
Switch to the named configuration immediately.
Switch to the named configuration immediately.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment