diff --git a/dot.mkshrc b/dot.mkshrc index c10b8fd..316f555 100644 --- a/dot.mkshrc +++ b/dot.mkshrc @@ -1,5 +1,5 @@ # $Id$ -# $MirOS: src/bin/mksh/dot.mkshrc,v 1.82 2013/05/02 21:59:48 tg Exp $ +# $MirOS: src/bin/mksh/dot.mkshrc,v 1.83 2013/07/25 14:02:02 tg Exp $ #- # Copyright (c) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, # 2011, 2012, 2013 @@ -66,7 +66,7 @@ else local -Uui16 -Z5 hv=2147483647 local dasc line i - cat "$@" | if read -arN -1 line; then + cat "$@" | { set +U; if read -arN -1 line; then typeset -i1 line i=0 while (( i < ${#line[*]} )); do @@ -89,7 +89,7 @@ else (( (pos++ & 15) == 7 )) && print -n -- '- ' done (( hv == 2147483647 )) || print -r -- "$dasc|" - fi + fi; } } fi