Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jtag
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 18:46:49 -0500
committerJonah Graham2018-11-23 02:52:26 -0500
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /jtag
parentbe35c7327d2a6168718afea45181a058a7d414fa (diff)
downloadorg.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.gz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.xz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.zip
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
Diffstat (limited to 'jtag')
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/Message.properties6
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/JtagUi.properties2
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag/about.properties2
3 files changed, 5 insertions, 5 deletions
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/Message.properties b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/Message.properties
index 855b08d4d6..3505872fb6 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/Message.properties
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/Message.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# QNX Software Systems - initial API and implementation
# John Dallaway - Test for reset/delay/halt command not defined (Bug 361881)
@@ -16,7 +16,7 @@ GDBJtagDebugger.0=Starting debug session
GDBJtagDebugger.1=Error getting debug target
GDBJtagDebugger.18=Executing run commands
GDBJtagDebugger.2=Connecting to remote
-GDBJtagDebugger.21=GDB command:
+GDBJtagDebugger.21=GDB command:\u0020
GDBJtagDebugger.22=Failed command
GDBJtagDebugger.3=Executing init commands
GDBJtagDebugger.loading_image=Loading image
@@ -24,7 +24,7 @@ GDBJtagDebugger.loading_symbols=Loading symbolics
src.common.No_answer=No answer
GDBJtagDebugger.err_no_sym_file=Symbolics loading was requested but file was not specified or not found.
-GDBJtagDebugger.err_no_img_file=Image loading was requested but file was not specified or not found.
+GDBJtagDebugger.err_no_img_file=Image loading was requested but file was not specified or not found.\u0020
GDBJtagDebugger.delay_not_defined=Delay command not defined for device '%s'
GDBJtagDebugger.halt_not_defined=Halt command not defined for device '%s'
GDBJtagDebugger.reset_not_defined=Reset command not defined for device '%s'
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/JtagUi.properties b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/JtagUi.properties
index ba5cb41166..032bc3e9bc 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/JtagUi.properties
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/JtagUi.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# QNX Software Systems - initial API and implementation
# Bruce Griffith,Sage Electronic Engineering, LLC - bug 305943
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag/about.properties b/jtag/org.eclipse.cdt.debug.gdbjtag/about.properties
index 23f92ea057..232e4df44e 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag/about.properties
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag/about.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
###############################################################################

Back to the top