with the shell's command substitution mechanism (see below). basename is less efficient than ${variabl... es that are sufficiently obscure you almost never see them used. One of the problems is that the man pa... In traditional Bourne shell programming you might see references to the basename and dirname commands. ... ing manipulations on their arguments. You'll also see many uses of sed and awk or perl -e to perform si
">" needs to be escaped within a [ ] construct.
See Example 27-11 for an application of this comparis... t the unquoted string alone within test brackets (see Example 7-6) normally works, however, this is an