diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:20:51 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:20:51 +1300 |
commit | e31f5443198fbbc92858c0d5c85a2ea660f46f3f (patch) | |
tree | 8e14144515f8d653209378f4291a5bb060e0b8b8 /bash | |
parent | Experimental man(1) completion (diff) | |
download | dotfiles-e31f5443198fbbc92858c0d5c85a2ea660f46f3f.tar.gz dotfiles-e31f5443198fbbc92858c0d5c85a2ea660f46f3f.zip |
Add explicit delimiter to print
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/man.bash | 2 |
1 files changed, 1 insertions, 1 deletions
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 |