help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting two variables based on condition


From: michael-franzese
Subject: Setting two variables based on condition
Date: Thu, 8 Apr 2021 08:11:33 +0200

Is this the way to set two variables "at" and "gf" when condition is true.

[[ "$dsattr" == "attrib" ]] && at="$gf" && gf=""





reply via email to

[Prev in Thread] Current Thread [Next in Thread]