|
Shell script help required
Hi,
Can someone help me with this small piece of code.
DIRNAME=$(dirname $0)
BASENAME=$(basename $0)
DATA="${DIRNAME}/${BASENAME}.data"
[ -r $DATA ] && . $DATA
whats is meant by [ -r $DATA ] && . $DATA here...
Regards,
Abhishek
Last edited by max29583; 07-16-2008 at 07:20 AM..
Reason: Missed my name at the end....
|