Reduce the number of leading spaces in nl and comment about it

This commit is contained in:
Andrea Cardaci 2018-05-30 12:46:51 +02:00
parent 4c3c73a4b6
commit ab481fa4a5

View File

@ -1,7 +1,8 @@
--- ---
functions: functions:
file-read: file-read:
- code: | - description: This prepends a leading space to each line.
code: |
LFILE=file_to_read LFILE=file_to_read
nl -bn -w1 $LFILE nl -bn -w1 -s '' $LFILE
--- ---