From e31f5443198fbbc92858c0d5c85a2ea660f46f3f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 26 Nov 2015 18:20:51 +1300 Subject: Add explicit delimiter to print --- bash/bashrc.d/man.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash index 4994c379..f01e4dc0 100644 --- a/bash/bashrc.d/man.bash +++ b/bash/bashrc.d/man.bash @@ -58,7 +58,7 @@ _man() { # Print the pages array to stdout, newline-separated; see above # explanation - (IFS=$'\n' ; printf %s "${pages[*]}") + (IFS=$'\n' ; printf '%s\0' "${pages[*]}") ) } complete -F _man -o default man -- cgit v1.2.3