Clarify echo command in rlwrap file-write

This commit is contained in:
Andrea Cardaci 2018-06-04 13:16:24 +02:00
parent 3cc3be5aa5
commit 0785f116d3

View File

@ -7,7 +7,7 @@ functions:
suid-enabled: suid-enabled:
- code: ./rlwrap -H /dev/null /bin/sh -p - code: ./rlwrap -H /dev/null /bin/sh -p
file-write: file-write:
- description: This adds timestamps to the output file. - description: This adds timestamps to the output file. This relies on the external `echo` command.
code: | code: |
LFILE=file_to_write LFILE=file_to_write
rlwrap -l "$LFILE" echo data rlwrap -l "$LFILE" echo data