aboutsummaryrefslogtreecommitdiff
path: root/testdata/local/put.aww
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-10-03 00:15:29 +0700
committerShulhan <ms@kilabit.info>2025-10-03 00:15:29 +0700
commit1003a18b85cffac4b9a92ee787fd8a9bdfca072d (patch)
tree2090d7c2b84dbd4cc39956145af3c070ba98f7ee /testdata/local/put.aww
parent276096698be34a7c629b3fe7bfd79c48e1c24921 (diff)
downloadawwan-1003a18b85cffac4b9a92ee787fd8a9bdfca072d.tar.xz
all: add option "$noparse" for magic "#put" command
The "$noparse" option allow copying file without reading and parsing the input file.
Diffstat (limited to 'testdata/local/put.aww')
-rw-r--r--testdata/local/put.aww2
1 files changed, 2 insertions, 0 deletions
diff --git a/testdata/local/put.aww b/testdata/local/put.aww
index c076bd7..82297e5 100644
--- a/testdata/local/put.aww
+++ b/testdata/local/put.aww
@@ -14,3 +14,5 @@ sudo chmod 0644 /etc/plain.txt
#put!+0516 {{.ScriptDir}}/plain.txt /etc/sudoput_with_mode.txt
#put!awwan:bin+0644 {{.ScriptDir}}/plain.txt /etc/sudoput_with_owner.txt
+
+#put:$noparse {{.ScriptDir}}/plain.txt {{.ScriptDir}}/tmp/plain_noparse.txt