Add sudo-enabled to cut

This commit is contained in:
Emilio Pinna 2018-06-16 16:13:16 +01:00
parent 659002adef
commit fce5a22341

View File

@ -3,9 +3,13 @@ functions:
sudo-enabled: sudo-enabled:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
sudo cut -d "" "$LFILE" -f1 sudo cut -d "" -f1 "$LFILE"
suid-enabled:
- code: |
LFILE=file_to_read
./cut -d "" -f1 "$LFILE"
file-read: file-read:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
cut -d "" "$LFILE" -f1 cut -d "" -f1 "$LFILE"
--- ---