Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: test output to terminal dehackery



On Tue, May 29, 2007 at 03:43:40PM +0100, Peter Stephenson wrote:
[...]
> diff -u -r1.26 ztst.zsh
> --- Test/ztst.zsh	28 Nov 2006 22:09:00 -0000	1.26
> +++ Test/ztst.zsh	29 May 2007 14:42:24 -0000
> @@ -147,10 +147,14 @@
>  ZTST_verbose() {
>    local lev=$1
>    shift
> -  [[ -n $ZTST_verbose && $ZTST_verbose -ge $lev ]] && print -r -- $* >&8
> +  if [[ -n $ZTST_verbose && $ZTST_verbose -ge $lev ]]; then
> +    print -r pu $ZTST_fd -- $*
[...]

Hi Peter,

The above looks like a typo. That p should have been a "-"
shouldn't it?

-- 
Stéphane



Messages sorted by: Reverse Date, Date, Thread, Author