1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00
cdt/doc/org.eclipse.cdt.doc.isv
Jonah Graham ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used:
# Remove space at eol in comments
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +

Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-23 07:52:26 +00:00
..
.externalToolBuilders Build Cleanup. 2005-11-21 16:27:25 +00:00
.settings Bug 540373: Standard .settings auto applied 2018-11-22 21:47:02 +00:00
guide Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
META-INF Bug 540367 - Increment version numbers 2018-10-23 11:20:31 -04:00
reference Remove CDI leftovers from docs. 2017-05-26 14:10:06 -04:00
.contentsettings update to MBS extensibility guide for custom wizard page support 2006-06-08 19:31:05 +00:00
.gitignore Ignore doc.bin.log file 2013-02-01 14:53:30 -08:00
.project removed some garbage builder from IBM that was cluttering up my log files..... 2006-08-18 14:48:25 +00:00
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
book.css Bug 307593 - [Accessibility] CDT documentation has accessibility issues 2010-03-31 01:34:27 +00:00
build.properties Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
buildDoc.xml Bug 350828 - Prebuild indexes for docs. 2012-01-15 03:09:18 -05:00
cdtOptions Remove CDI leftovers from docs. 2017-05-26 14:10:06 -04:00
cdtOptions.txt Remove CDI leftovers from docs. 2017-05-26 14:10:06 -04:00
customBuildCallbacks.xml Bug 157260 - Add custom callbacks to call the buildDoc script to generate the API docs. Also get rid of the user doc's build.xml file since we use the generated one anyway. 2007-06-11 18:59:08 +00:00
notices.html Bug 435887 - Update cdt.doc.isv 2014-05-29 11:10:56 -04:00
plugin.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.xml Bug 350828 - Prebuild indexes for docs. 2012-01-15 03:09:18 -05:00
pom.xml Bug 540367 - Increment version numbers 2018-10-23 11:20:31 -04:00
schema.css Bug 540373: Normalize newlines with .gitattributes 2018-11-20 21:20:39 +00:00
toc.xml Initial ISV Doc. Plus some goodies on the new DOM. 2004-11-17 19:30:08 +00:00
topics_Guide.xml [302175] - [doc] Add DSF Tutorial to CDT ISV documentation. 2010-02-08 18:05:51 +00:00
topics_Reference.xml Remove CDI leftovers from docs. 2017-05-26 14:10:06 -04:00