From 2ba95606dd95f68d423942b51e0e5b8d3d9ec145 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Mon, 30 May 2016 13:33:10 +0200 Subject: Support substituting expresions of type ${var:offset:length} --- man/nslcd.conf.5.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'man') diff --git a/man/nslcd.conf.5.xml b/man/nslcd.conf.5.xml index 0bcdd2d..d221675 100644 --- a/man/nslcd.conf.5.xml +++ b/man/nslcd.conf.5.xml @@ -1031,6 +1031,17 @@ is set, otherwise substitute the empty string + + ${attr:offset:length} + + will substitute length characters (actually + bytes) starting from position offset (which + is counted starting at zero); the substituted string is + truncated if it is too long; in particular, it can be of length + zero (if length is zero or + offset falls out of the original string) + + ${attr#word} -- cgit v1.2.3