relpipe-data/examples-in-xmltable-xhtml-outline.xml
branchv_0
changeset 290 e73765513aec
parent 288 5cf3a702f47d
--- a/relpipe-data/examples-in-xmltable-xhtml-outline.xml	Sat Jan 04 20:21:45 2020 +0100
+++ b/relpipe-data/examples-in-xmltable-xhtml-outline.xml	Sat Jan 11 20:24:43 2020 +0100
@@ -113,7 +113,7 @@
 		<m:pre jazyk="bash"><![CDATA[# our favorite function used also in other examples;
 # reads values separated by a \0 byte into a variable;
 # this is a safer way than a space or newline separated data:
-read_nullbyte() { for v in "$@"; do export "$v"; read -r -d '' "$v"; done }
+read_nullbyte() { local IFS=; for v in "$@"; do export "$v"; read -r -d '' "$v"; done }
 
 wget -O - http://blog.frantovo.cz/ \
 	| relpipe-in-xmltable \