- Spaces after letter are not deleted.
- If there is a cursor, blank line spaces are not deleted.
'Format Code' does not delete trailing spaces
1 Like
I made the script to remove the garbage from file after the AIDE editor:
cat $SRCFILE | expand -t4 | sed -r “s/\r+//” | sed -r “s/ +$//” > $TMPFILE
mv -f $TMPFILE $SRCFILE
1 Like