From 582fd3b69868f12fc14f0fbefb81521445b075fa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 15 Jul 2016 00:05:58 +1200 Subject: Terser `read -rd ''` idiom --- bash/bashrc.d/man.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d/man.bash') diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash index 562b0625..f1762a01 100644 --- a/bash/bashrc.d/man.bash +++ b/bash/bashrc.d/man.bash @@ -18,7 +18,7 @@ _man() { # Read completion results from a subshell and add them to the COMPREPLY # array individually - while IFS= read -d '' -r page ; do + while IFS= read -rd '' page ; do COMPREPLY[${#COMPREPLY[@]}]=$page done < <( -- cgit v1.2.3