|
| From: | Peng Yu |
| Subject: | [Help-bash] The difference between 'if cond; then' and 'cond && {' |
| Date: | Sun, 2 Dec 2018 21:40:42 -0600 |
It sounds like the following construct would always produce the same
result. Is it so?
if some_cond; then
do something1
do something2
fi
somc_cond && {
do something1
do something2
}
--
Regards,
Peng
| [Prev in Thread] | Current Thread | [Next in Thread] |