Ansible
delete last blank line in the file
Archives
Ansible Project
John.1209
(John.1209)
July 5, 2016, 8:25pm
1
Can someone suggest an ansible regex that deletes the last blank line in a file, if it is blank.
TIA
Related topics
Topic
Replies
Views
Activity
removing blank lines after all lines start with specific string
Ansible Project
2
94
October 18, 2018
How to delete multiple lines after a match?
Ansible Project
1
52
March 2, 2016
regexp bug
Ansible Developer
0
1
November 7, 2015
lineinfile block missing last line
Ansible Developer
1
3
September 4, 2015
blockinfile - learning pains
Ansible Project
1
6
January 24, 2017