|
From: | admn ombres |
Subject: | nullglob make unset on array member fail ? |
Date: | Mon, 23 Jan 2017 15:04:40 +0100 |
$ x=(x); echo ${#x[@]}; shopt -s nullglob; unset x[0]; echo ${#x[@]} 1 1 $ x=(x); echo ${#x[@]}; shopt -u nullglob; unset x[0]; echo ${#x[@]} 1 0
[Prev in Thread] | Current Thread | [Next in Thread] |