ksh variable?
Hi all,
I've go the following two lines at the top of a ksh script:
logfile=`ls -t /www/Apache/logs/error_log.* | head -1`
oldlog=/root/unix_admin/${logfile##*/}
I've never come across the ##*/ before, and it's not the easiest thing to Google... Is it regex notation? If not, what is it? I'm not a ksh expert, but I know what I'm doing in bash...
Cheers in advance,
Davee
|