97 lines
1.3 KiB
Plaintext
97 lines
1.3 KiB
Plaintext
==================
|
|
Quoted value
|
|
==================
|
|
|
|
ENV TEST="okay"
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (double_quoted_string))))
|
|
|
|
==================
|
|
Unquoted value
|
|
==================
|
|
|
|
ENV TEST_2=value\ 2
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (unquoted_string))))
|
|
|
|
==================
|
|
Multiple
|
|
==================
|
|
|
|
ENV TEST="foo" TEST_2=foo\ bar
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (double_quoted_string))
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (unquoted_string))))
|
|
|
|
==================
|
|
Multiline
|
|
==================
|
|
|
|
ENV TEST1="foo" \
|
|
TEST2=bar
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (double_quoted_string))
|
|
(line_continuation)
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (unquoted_string))))
|
|
|
|
==================
|
|
Multiple instructions
|
|
==================
|
|
|
|
ENV TEST1="foo"
|
|
ENV TEST2="bar"
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (double_quoted_string)))
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (double_quoted_string))))
|
|
|
|
==================
|
|
Space syntax
|
|
==================
|
|
|
|
ENV TEST1 foo
|
|
|
|
---
|
|
|
|
(source_file
|
|
(env_instruction
|
|
(env_pair
|
|
name: (unquoted_string)
|
|
value: (unquoted_string))))
|