On Mon Sep 5, 2022 at 8:42 PM CEST, Songbo Wang wrote: > Hi, > > I've been recently playing with execline scripts and found out that > s6-test -v ! s6-test -v '\!' seems to work for me, tested with env !=1 s6-test -v'\!' and without the env. maybe i'm misreading it?
> is not able to test if the ! environment variable is set. I guess it is > because s6-test would also need to handle expressions like "x != y", but > the code is too mystic for me to understand (by the way, s6-test fails > to test = too, but I don't even know if it is a legit envvar name). > > I think it is reasonable to use ! as an envvar, as it is set by some > execline utilities, e.g. background, wait. > > Cheers, > -- > Songbo Wang (汪嵩博)
