Fix YAML in ar

This commit is contained in:
Andrea Cardaci 2021-01-17 23:40:41 +01:00 committed by GitHub
parent 7da8627262
commit 0d5c457233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,19 +2,19 @@
description: The file appears amid the binary content of the archive.
functions:
file-read:
code: |
- code: |
OUTFILE=$(mktemp -u)
LFILE=file_to_read
ar r "$OUTFILE" "$LFILE"
cat "$OUTFILE"
suid:
code: |
- code: |
OUTFILE=$(mktemp -u)
LFILE=file_to_read
./ar r "$OUTFILE" "$LFILE"
cat "$OUTFILE"
sudo:
code: |
- code: |
OUTFILE=$(mktemp -u)
LFILE=file_to_read
sudo ar r "$OUTFILE" "$LFILE"