Use DATA as a placeholder for file-write operations

This commit is contained in:
Andrea Cardaci
2018-08-20 14:35:43 +02:00
parent 866ca2e404
commit d4b50275bb
29 changed files with 36 additions and 36 deletions

View File

@@ -10,7 +10,7 @@ functions:
code: |
LFILE=file_to_write
TF=$(mktemp)
echo data > "$TF"
echo DATA > "$TF"
tar c --xform "s@.*@$LFILE@" -OP "$TF" | tar x -P
file-read:
- description: This only works for GNU tar.