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:
- code: |
ed file_to_write
a
data
.
w
q
file-read:
- code: ed file_to_read
- code: |
ed file_to_read
,p
q
sudo-enabled:
- code: |
sudo ed