##*/} is actually equivalent to the UNIX utility basename(1). basename takes a pathname as argument and returns the filename only; it is mea... er-field separator in the Bourne, and Korn shells as well as bash) to parse each line of /etc/passwd and extract just two fields:
... obably many many others.
The library tries to do as much as possible using functions and aliases, not variables; this is an attempt to let the u...
top_srcdir = ...
builddir = ...
BASHPROG = bash
MODULES = moduleA moduleB
testdir
cho "(string comparison)"
# "4" != "5"
# ASCII 52 != ASCII 53
fi
# In this particular instance, both "-n... kings . . .
# Using if [ ... ]
# If a string has not been initialized, it has no defined value.
# This state is called "null" (... # Wrong result.
# Shows $string1 as not null, although it was not initialized.
echo
# Let's try it again.
if... ood practice to quote it (if [ "$string1" ]).
#
# As Stephane Chazelas points out,
# if [ $string1 ] has one argum