|
From: | Clark J. Wang |
Subject: | extglob pattern: @(/root) vs. @(root) |
Date: | Fri, 9 Dec 2011 16:16:25 +0800 |
See following: # shopt extglob extglob on # echo $BASH_VERSION 4.2.20(1)-release # ls -d /root /root # pwd / # echo @(root) root # echo @(/root) @(/root) <-- ??? # echo @(/root*) @(/root*) <-- ??? # I'm confused why @(/root) and @(/root*) do not work here. -- -Clark
[Prev in Thread] | Current Thread | [Next in Thread] |