From 4243a1676e1be4de207c850825c0e84c00b8151a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Tue, 21 Mar 2023 11:05:34 +0100 Subject: Document subr.rtl/*.subr functions, pt. IV. --- subr.rtl/rtl_list.subr | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'subr.rtl/rtl_list.subr') diff --git a/subr.rtl/rtl_list.subr b/subr.rtl/rtl_list.subr index 5934126f..36bc77e9 100644 --- a/subr.rtl/rtl_list.subr +++ b/subr.rtl/rtl_list.subr @@ -34,6 +34,8 @@ rtl_lassignV() { # @_rlist: inout reference to list # @_litem_new: list item(s) to concatenate with # @[_sep]: optional single non-zero, possibly multi-character, separator +# N.B.: If @_litem_new is a list of multiple items, the separator of that list +# must be the same as @[_sep] # # Returns: zero (0) on success, non-zero (>0) on failure # @@ -49,6 +51,8 @@ rtl_lconcat() { # @[_sep]: optional single non-zero, possibly multi-character, separator # # Returns: zero (0) on success, non-zero (>0) on failure +# N.B.: If @_litem_new is a list of multiple items, the separator of that list +# must be the same as @[_sep] # rtl_lconcat2() { local _rlc2_rlist_new="${1#\$}" _rlc2_rlist="${2#\$}" _rlc2_litem_new="${3}" \ -- cgit v1.2.3