Fix ed file read/write

This commit is contained in:
Andrea Cardaci 2018-08-20 14:16:03 +02:00
parent 0ba5df0cb9
commit b4b67ff10b

View File

@ -7,9 +7,16 @@ functions:
file-write: file-write:
- code: | - code: |
ed file_to_write ed file_to_write
a
data
.
w w
q
file-read: file-read:
- code: ed file_to_read - code: |
ed file_to_read
,p
q
sudo-enabled: sudo-enabled:
- code: | - code: |
sudo ed sudo ed