From 3e3c313de342698efcfc4f5c7baa9ee2daf652d3 Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Tue, 4 Nov 2008 08:54:07 +0000
Subject: [PATCH] Added Tcl escaping to FAQ

git-svn-id: svn://svn.berlios.de/openocd/trunk@1130 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 doc/openocd.texi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/doc/openocd.texi b/doc/openocd.texi
index 98ad644f7..4fb606293 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2093,6 +2093,22 @@ halt
 @chapter FAQ
 @cindex faq
 @enumerate
+@item Why does not backslashes in paths under Windows doesn't work?
+
+OpenOCD uses Tcl and a backslash is an escape char. Use @{ and @}
+around Windows filenames. 
+
+@smallexample
+> echo \a
+
+> echo @{\a@}
+\a
+> echo "\a"
+
+>
+@end smallexample
+To 
+
 @item OpenOCD complains about a missing cygwin1.dll.
 
 Make sure you have Cygwin installed, or at least a version of OpenOCD that
-- 
GitLab