2018-05-30 07:56:12 +00:00
|
|
|
---
|
2018-07-16 13:01:50 +00:00
|
|
|
description: The read file content is corrupted by a leading space added to each line.
|
2018-05-30 07:56:12 +00:00
|
|
|
functions:
|
|
|
|
file-read:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
nl -bn -w1 -s '' $LFILE
|
2018-10-05 17:55:38 +00:00
|
|
|
suid:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
./nl -bn -w1 -s '' $LFILE
|
2018-10-05 17:55:38 +00:00
|
|
|
sudo:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
sudo nl -bn -w1 -s '' $LFILE
|
2018-05-30 07:56:12 +00:00
|
|
|
---
|