M
M
microphone2015-02-26 19:37:54
bash
microphone, 2015-02-26 19:37:54

What's a nice Bash/sh equivalent for boolean variable inversion?

Analogue in Bash/sh for logical variable inversion:

while (i=true )
do a
lot of text
i = not i <- exit condition from eternity.
done

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Petrikov, 2015-02-26
@RicoX

!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question