wolfgang wrote:
>
> I found the statement below in killproc() of
> /etc/init.d/functions script.
>
> base=${1##*/}
This is a bash structure used to remove parts of a
variable. The variable is $1. The ##*/ means that
everything before the last / is removed. Therefore,
if $1 is the full pathname of a file, $base will be
the filename (without the path).
Cheers,
Steven
______________________________
http://www.volny.cz/basiclinux
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs