mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
1.19: - you can escape "#" characters using a backslash: "\#"
which will now no more treated as a comment.
- comments inside here-documents will now remain in the
here-doc value.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@7 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
5
t/cfg.2
5
t/cfg.2
@@ -1,11 +1,14 @@
|
||||
# Nested block test
|
||||
|
||||
<cops>
|
||||
<officer randall>
|
||||
name stein
|
||||
age 25
|
||||
color \#000000
|
||||
</officer>
|
||||
<officer gordon>
|
||||
name bird
|
||||
age 31
|
||||
color \#ffffff
|
||||
</officer>
|
||||
</cops>
|
||||
</cops>
|
||||
|
||||
1
t/cfg.4
1
t/cfg.4
@@ -3,4 +3,5 @@ message <<EOF
|
||||
yes. we are not here. you
|
||||
can reach us somewhere in
|
||||
outerspace.
|
||||
# and this line will remain inside the here-doc!
|
||||
EOF
|
||||
|
||||
4
t/cfg.5
4
t/cfg.5
@@ -1,5 +1,5 @@
|
||||
# Multiline option test
|
||||
command = ssh -f -g orphues.0x49.org \
|
||||
command = ssh -f -g orpheus.0x49.org \
|
||||
-l azrael -L:34777samir.okir.da.ru:22 \
|
||||
-L:31773:shane.sol1.rocket.de:22 \
|
||||
'exec sleep 99999990'
|
||||
'exec sleep 99999990'
|
||||
|
||||
Reference in New Issue
Block a user