From ff75ae80fa44dfc925064f7ca0169ac80997bc77 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Thu, 22 Nov 2018 23:46:49 +0000 Subject: 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 --- .../lrparser/xlc/ui/preferences/PreferenceMessages.properties | 2 +- xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties | 2 +- xlc/org.eclipse.cdt.errorparsers.xlc/build.properties | 2 +- xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties | 2 +- xlc/org.eclipse.cdt.make.xlc.core/build.properties | 2 +- xlc/org.eclipse.cdt.make.xlc.core/plugin.properties | 2 +- .../org/eclipse/cdt/make/xlc/core/messages/Messages.properties | 4 ++-- xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties | 2 +- xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties | 2 +- xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties | 2 +- xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties | 2 +- xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties | 10 +++++----- xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties | 2 +- xlc/org.eclipse.cdt.xlc.feature/feature.properties | 2 +- xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) (limited to 'xlc') diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties b/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties index a0c30ca1955..2562cc97196 100644 --- a/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties +++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties index add434c947d..35a8eda06f5 100644 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties +++ b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties index 2979f474f27..cdba9cf7df1 100644 --- a/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties +++ b/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties b/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties index dacdf30e0bb..8bed0bb728a 100755 --- a/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties +++ b/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.make.xlc.core/build.properties b/xlc/org.eclipse.cdt.make.xlc.core/build.properties index 76262639c68..8b7cd7910f7 100644 --- a/xlc/org.eclipse.cdt.make.xlc.core/build.properties +++ b/xlc/org.eclipse.cdt.make.xlc.core/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties b/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties index 49ac0a69160..e5a6ec83529 100644 --- a/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties +++ b/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties index 3e1c0f4607e..14a8b8f0222 100644 --- a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties +++ b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties @@ -13,5 +13,5 @@ ############################################################################### PerFileXLCScannerInfoCollector.0=Updating discovered includes and macros PerFileXLCScannerInfoCollector.1=Error updating discovered info. -ScannerInfoCollector.Processing=Processing discovered scanner configuration ... -ScannerInfoCollector.Updating=Updating Scanner Configuration for project +ScannerInfoCollector.Processing=Processing discovered scanner configuration ...\u0020 +ScannerInfoCollector.Updating=Updating Scanner Configuration for project\u0020 diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties index da9ade12701..fe5a951fd8f 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # Wind River Systems - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties index b4ce737b0cd..cb8d17b1e4e 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties index c6a9943e608..fd953f30990 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties index fd4e620d8aa..5d89bc231b3 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties index 9f3accaeb6a..934ae57a426 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties @@ -117,7 +117,7 @@ Option.sourcetype.assembler = assembler Option.stdframework = Search standard framework directories (-qstdframework) Option.frameworkdirs = Specify additional framework directories (-qframeworkdir) Option.Input = Don't search the default search path directories (-qnostdinc) -Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly) +Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly)\u0020 Option.Trigraph=Recognize tri-graph key combinations Option.Utf=Enable recognition of UTF literal syntax (-qutf) Option.plus = Compile any file as a C++ file (-+) @@ -134,7 +134,7 @@ Option.PreprocOnly=Preprocess the source files and create an output preprocessed Option.PreprocRemoveComments=Remove comments from preprocessed output (-C!) Option.M=Create an output file that contains targets for the make command (-M) Option.ma=Substitute inline code for calls to alloca (-ma) -Option.o=Specify an output location for the files created by the compiler (-o) +Option.o=Specify an output location for the files created by the compiler (-o)\u0020 Option.P=Preprocess the source files and create an output preprocessed source file for each source file(-P) Option.Assem=Generate an assembler language file for each source file(-S) Option.Strip=Strip symbol table, line number information and relocation information from source file(-s) @@ -166,7 +166,7 @@ Option.Pic.Small=Small Option.Pic.Large=Large Option.noro=Do not place string literals in read only storage (-qnoro) Option.noroconst=Do not place constant values in read only storage (-qnoroconst) -Option.roptr=Place constant pointers in read only storage (-qroptr) +Option.roptr=Place constant pointers in read only storage (-qroptr)\u0020 Option.Statsym=Generate symbols for static variables (-qstatsym ) Option.xcall=Generate code to treat static functions as external functions (-qxcall ) Option.funcsect=Place instructions for each function in a separate object file control section or csect (-qfuncsect) @@ -257,7 +257,7 @@ Option.ignerrno = Perform optimizations which assume errno is not modified by sy Option.optimization.inline = Attempt to inline functions (-qinline=) Option.optimization.ipa = Customize interprocedural analysis optimizations(-qipa=) Option.optimization.isolatedcall = Functions in source file that have no side effects (-qisolated_call=name1:name2:...:nameN) -Option.optimization.keepinlines = +Option.optimization.keepinlines =\u0020 Option.largepage = Exploit large page heaps available on POWER4(TM) systems running AIX(R) 5.1D or later (-qlargepage) Option.libansi = Assume all functions in the name of ansi C function are system functions (-qlibansi) Option.pdf1 = Tune optimizations through Profile Directed Feedback: first run (-qpdf1) @@ -291,7 +291,7 @@ Option.optimization.qprefetch = Insert prefetch instructions automatically where Option.Linking.b = Control how shared objects are processed by the editor (-b) Option.linking.brtl = Enable runtime linking for the output file (-brtl) Option.Linking.e = Set the entry name for the shared executable(-e ) -Option.Linking.f = +Option.Linking.f =\u0020 Option.linking.G = Create a shared object enabled for runtime linking (-G) Option.Linking.L = Search the path directory for the library files specified by the -lkey option (-L) Option.Linking.l = Search the specified library file(-l) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties index 7e48786131f..5d28cf185b3 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.xlc.feature/feature.properties b/xlc/org.eclipse.cdt.xlc.feature/feature.properties index ed53eac15f5..b502882cfa4 100644 --- a/xlc/org.eclipse.cdt.xlc.feature/feature.properties +++ b/xlc/org.eclipse.cdt.xlc.feature/feature.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### diff --git a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties index 2d626ed5795..6123503cfc3 100644 --- a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties +++ b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties @@ -7,7 +7,7 @@ # https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 -# +# # Contributors: # IBM Corporation - initial API and implementation ############################################################################### -- cgit v1.2.3