From: millert Date: Thu, 9 Apr 2015 19:37:35 +0000 (+0000) Subject: Both more and less accept options beginning with '+'. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8a66e41b5e19010e25a6d6c30c466736137e3259;p=openbsd Both more and less accept options beginning with '+'. From Tim van der Molen --- diff --git a/usr.bin/compress/zmore b/usr.bin/compress/zmore index 3d1d38bcf0f..fc75672d9a0 100644 --- a/usr.bin/compress/zmore +++ b/usr.bin/compress/zmore @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: zmore,v 1.7 2014/05/07 21:42:50 zhuk Exp $ +# $OpenBSD: zmore,v 1.8 2015/04/09 19:37:35 millert Exp $ # # Copyright (c) 2003 Todd C. Miller # @@ -29,7 +29,7 @@ while test $# -ne 0; do shift break ;; - -*) + -*|+*) flags="$flags $1" shift ;;