Hi, I use unset to remove x from the environment once the for loop is finished. Is it the best way to do in bash? Thanks.
for x in a b c do echo "$x" done unset x -- Regards, Peng
Hi, I use unset to remove x from the environment once the for loop is finished. Is it the best way to do in bash? Thanks.
for x in a b c do echo "$x" done unset x -- Regards, Peng