All of lore.kernel.org
 help / color / mirror / Atom feed
* [OSSTEST PATCH 0/4] Use ^ for negation, not !
@ 2018-05-03 14:58 Ian Jackson
  2018-05-03 14:58 ` [OSSTEST PATCH 1/4] mg-allocate: Use ^ for deallocation, " Ian Jackson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ian Jackson @ 2018-05-03 14:58 UTC (permalink / raw)
  To: xen-devel

People keep having trouble with the ! syntax for negation, because of
the !-history feature in some shells (notably, enabled by default in
bash in all distros).

The result is that attempts to deallocate hosts, or do some other
things, produces an incomprensible "event not found" message.

I don't suffer from this because I have it turned off, with set -H.
IMO it should be off by default.  (This is Debian #897422.)

Avoid this whole problem by using ^ everywhere we previously used !
for negation.  (We continue to honour !.)

Places where ! is still the necessary syntactic character to do
something in osstest are:

 * In the ms-queuedaemon protocol, ! is used to indicate an
   unsolicited response.

 * In sg-run-job, ! in an IFFAIL means to run a step even if
   the job has failed or is being truncated.

These go nowhere near a shell and are not, conceptually, negation.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-05-03 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 14:58 [OSSTEST PATCH 0/4] Use ^ for negation, not ! Ian Jackson
2018-05-03 14:58 ` [OSSTEST PATCH 1/4] mg-allocate: Use ^ for deallocation, " Ian Jackson
2018-05-03 14:58 ` [OSSTEST PATCH 2/4] mg-hosts: Use ^ for flag negation, " Ian Jackson
2018-05-03 14:58 ` [OSSTEST PATCH 3/4] mg-adjust-flight-makexrefs: Use ^ for excluding jobs, " Ian Jackson
2018-05-03 14:58 ` [OSSTEST PATCH 4/4] Standalone HostFlags: Use ^ for negation, " Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.