Created
November 22, 2021 12:42
-
-
Save Habetdin/e21567637be3d3c1e7876353548234e1 to your computer and use it in GitHub Desktop.
Add a newline to the end of the files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://unix.stackexchange.com/a/31955 | |
find . -maxdepth 1 -name '*.cpp' -type f -exec sed -i -e '$a\' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment