Add (final) newline to parameter file #246

Closed
opened 2021-11-20 15:22:25 +00:00 by ungleich-gitea · 2 comments

Created by: telmich

As reported on IRC, a missing newline breaks standard shell behaviour - so we should add it.

23:53 < henk> http://mywiki.wooledge.org/BashFAQ/001 "My text files are broken! They
lack their final newlines!" this seems to be the case … I used 'while
read alias || [ -n "$alias" ];' now.

*Created by: telmich* As reported on IRC, a missing newline breaks standard shell behaviour - so we should add it. 23:53 < henk> http://mywiki.wooledge.org/BashFAQ/001 "My text files are broken! They lack their final newlines!" this seems to be the case … I used 'while read alias || [ -n "$alias" ];' now.
Author
Owner

Created by: telmich

Fixed some time ago

*Created by: telmich* Fixed some time ago
Author
Owner

Created by: asteven

fixed in https://github.com/asteven/cdist/tree/issue/240

can not convert issue to pull request due to permission issues.

*Created by: asteven* fixed in https://github.com/asteven/cdist/tree/issue/240 can not convert issue to pull request due to permission issues.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#246
No description provided.