Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
print -s ''
- X-seq: zsh-workers 15192
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: print -s ''
- Date: Sat, 30 Jun 2001 18:20:36 +0000
- In-reply-to: <1010626062416.ZM143@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <4a8d442eb8vincent@xxxxxxxxxx> <1010626062416.ZM143@xxxxxxxxxxxxxxxxxxxxxxx>
On Jun 26, I wrote:
}
} It seems to me that `print -s' should simply perform the deletion at
} once, replacing the pending entry with the new one.
Wayne's patch for this appears (after a lot of experimentation in which
I confused myself several times) to have done the right thing. Thanks,
Wayne.
} On a prossibly-unrelated note, `print -s' with no arguments results in
} "BUG: attempt to free storage at invalid address" when the next command
} is executed
This bug is also gone.
However, `print -s' with no arguments or an empty argument still inserts an
empty entry in the history list. Does this seem like useful behavior to
anyone? I would think that empty entries should always be ignored.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author