aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 19:00:06 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 19:00:06 +0100
commit112600774798e53e2ffbab6e0bbbc6fe625bf88b (patch)
tree012da7541aef321264b091193e9f19f38a708797 /doc
parenta0d1231340617ab28a941f723793ad7be242ca0c (diff)
downloadsciteco-112600774798e53e2ffbab6e0bbbc6fe625bf88b.tar.gz
added the <"I> conditional for checking a directory separator
* It is still useful to have this in macros since you may want to work with non-normalized file names. For instance, env variables (including $SCITECOPATH and $SCITECOCONFIG) may (and will probably) include backward-slash separators on Windows
Diffstat (limited to 'doc')
-rw-r--r--doc/sciteco.7.template13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index 00c8366..a342f5d 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -1296,9 +1296,20 @@ Like in pattern matching, a symbol constituent is defined
as an alpha-numeric character, dot, dollar or underscore.
.TP
.IB n \(dqD
-Applies if \fIn\fP is the code a digit character (0 to 9).
+Applies if \fIn\fP is the code of a digit character (0 to 9).
The current radix is insignificant.
.TP
+.IB n \(dqI
+Applies if \fIn\fP is the code of a directory separator
+(e.g. \(lq/\(rq on UNIX, \(lq\\\(rq or \(lq/\(rq on Windows).
+This is useful for macros that have to work with different
+separator styles in a portable manner.
+Note that, \*(ST itself is designed not to produce non-forward-slash
+separators and at least allows the user to generate forward-slashes
+in portable macros.
+This is not the case, for instance when working with environment
+variables.
+.TP
.IB n \(dqS
.TQ
.IB n \(dqT