File tree Expand file tree Collapse file tree 6 files changed +24
-8
lines changed
Expand file tree Collapse file tree 6 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ args: none
6060deps :
6161- ${deps[git]} = /usr/bin/git
6262- ${deps[http_client]} = /usr/bin/curl
63- - ${deps[ruby]} = /home/vagrant/.rbenv/versions/3.1.4 /bin/ruby
63+ - ${deps[ruby]} = /home/vagrant/.rbenv/versions/3.3.0 /bin/ruby
6464
6565
6666` ` ` `
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ ISSUE TRACKER
102102AUTHORS
103103 Lana Lang.
104104
105- Version 0.1.0 December 2023 download(1)
105+ Version 0.1.0 March 2024 download(1)
106106
107107
108108````
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ files:
129129 upcase: CONTENT OF FILE1
130130
131131args:
132- - ${args[file]} = " file1"
132+ - ${args[file]} = file1
133133
134134
135135````
@@ -147,7 +147,7 @@ files:
147147 upcase: CONTENT OF FILE2
148148
149149args:
150- - ${args[file]} = " file1" " file2"
150+ - ${args[file]} = file1 file2
151151
152152
153153````
@@ -165,7 +165,7 @@ files:
165165 upcase: CONTENT OF FILE2
166166
167167args:
168- - ${args[file]} = " file1" " file2"
168+ - ${args[file]} = file1 file2
169169
170170
171171````
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ two three
146146Verbosity level: 3
147147
148148args:
149- - ${args[--data]} = " one" " two three"
149+ - ${args[--data]} = one two\ three
150150- ${args[--path]} = file\ one file-two
151151- ${args[--verbose]} = 3
152152
162162Verbosity level: 1
163163
164164args:
165- - ${args[--data]} = " one"
166- - ${args[--path]} = " /bin" " /usr/lib"
165+ - ${args[--data]} = one
166+ - ${args[--path]} = /bin /usr/lib
167167
168168
169169````
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ inspect_args
5151# path and '-' argument.
5252cat "${args[path]}"
5353
54+ # To read the file yourself, use something like this
55+ #
56+ # if [[ "${args[path]}" == "-" ]]; then
57+ # file=$(</dev/stdin)
58+ # else
59+ # file=$(<"${args[path]}")
60+ # fi
61+
5462````
5563
5664
Original file line number Diff line number Diff line change @@ -3,3 +3,11 @@ inspect_args
33# Since cat knows how to handle '-' as a value, it will work with both a file
44# path and '-' argument.
55cat " ${args[path]} "
6+
7+ # To read the file yourself, use something like this
8+ #
9+ # if [[ "${args[path]}" == "-" ]]; then
10+ # file=$(</dev/stdin)
11+ # else
12+ # file=$(<"${args[path]}")
13+ # fi
You can’t perform that action at this time.
0 commit comments