This commit is contained in:
Andrea Cardaci 2021-04-17 21:02:59 +02:00
parent 65900862c5
commit 5255ea1846

View File

@ -3,8 +3,9 @@ functions:
file-read: file-read:
- code: | - code: |
LFILE=file-to-read LFILE=file-to-read
zip /tmp/temp.zip $LFILE TF=$(mktemp -u)
unzip -p /tmp/temp.zip < /dev/stdout zip $TF $LFILE
unzip -p $TF
shell: shell:
- code: | - code: |
TF=$(mktemp -u) TF=$(mktemp -u)