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
4
October 18, 2018
unable to delete line file
Ansible Project
4
1
March 14, 2019
How to delete multiple lines after a match?
Ansible Project
1
4
March 2, 2016
regexp bug
Ansible Developer
0
0
November 7, 2015
How to delete a duplicate in file ?
Ansible Project
0
0
February 26, 2019