First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -e
echo "1234" > file
zstd file

View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e
println "+ good path"
zstdgrep "1234" file file.zst
println "+ bad path"
zstdgrep "1234" bad.zst

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1 @@
zstd: can't stat bad.zst : No such file or directory -- ignored

View File

@@ -0,0 +1,4 @@
+ good path
file:1234
file.zst:1234
+ bad path

View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
println "+ good path"
zstdless file.zst
println "+ pass parameters"
zstdless -N file.zst # This parameter does not produce line #s when piped, but still serves to test that the flag went to less and not zstd
println "+ bad path"
zstdless bad.zst >&2

View File

@@ -0,0 +1,2 @@
zstd: can't stat bad.zst : No such file or directory -- ignored
bad.zst: No such file or directory

View File

@@ -0,0 +1,5 @@
+ good path
1234
+ pass parameters
1234
+ bad path