From 685234af1f48e976fd57ec04d4a253bcabfad4ea Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 21 Jun 2016 11:26:23 +1200 Subject: Remove unneeded linebreak backslashes Handy command: $ find bin sh bash -type f -exec grep \ -e '|| \\$' \ -e '&& \\$' \ -e '^\s*||' \ -e '^\s*&&' \ {} + --- bash/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index 383273c3..facdd7eb 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -3,7 +3,7 @@ # 2.05a). if ! [ -n "$BASH_VERSINFO" ] ; then return -elif ((BASH_VERSINFO[0] == 2)) && \ +elif ((BASH_VERSINFO[0] == 2)) && ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then return fi -- cgit v1.2.3