zsh-users
 help / color / mirror / code / Atom feed
* HIST_ALLOW_CLOBBER and >&
@ 2000-06-26 20:55 Paul_A
  2000-06-27  0:03 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Paul_A @ 2000-06-26 20:55 UTC (permalink / raw)
  To: zsh-users

Is there any good reason why `|' doesn't get appended to >& in the history
with HIST_ALLOW_CLOBBER enabled, like with > and >>, or is this merely an
oversight?  I believe the question applies to all versions.

-- 
Paul Ackersviller


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HIST_ALLOW_CLOBBER and >&
  2000-06-26 20:55 HIST_ALLOW_CLOBBER and >& Paul_A
@ 2000-06-27  0:03 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-06-27  0:03 UTC (permalink / raw)
  To: Paul_A, zsh-users

On Jun 26,  4:55pm, Paul_A wrote:
> Subject: HIST_ALLOW_CLOBBER and >&
> Is there any good reason why `|' doesn't get appended to >& in the history

I believe it's because of the e.g. >&3 syntax, which or course means "open
descriptor 1 as a copy of descriptor 3."  >&|3, on the other hand, means
"force open a file named '3' and direct descriptors 1 and 2 there".

This could probably be fixed at the cost of making the history code do more
complex parsing ...


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-27  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-26 20:55 HIST_ALLOW_CLOBBER and >& Paul_A
2000-06-27  0:03 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).