Version
$ deno --version
deno 1.40.1 (release, x86_64-unknown-linux-gnu)
v8 12.1.285.6
typescript 5.3.3
Step to reproduce
deno.jsonc
test.txt
Except behavior
$ head -n -1 test.txt
01
02
03
04
Actual behavior
$ deno task test-head
Task test-head head -n -1 test.txt
head: invalid digit found in string
Version
Step to reproduce
deno.jsonc
{ "tasks": { "test-head": "head -n -1 test.txt" } }test.txt
Except behavior
Actual behavior
$ deno task test-head Task test-head head -n -1 test.txt head: invalid digit found in string