How to read a particular records from a file?

Hi All

Can anybody let me know the code to read a particular record from a file

For e.g.

File Name: File.txt
File content:

Script_path=/abc/def/script/
File_path=/xyz/data/
Business Date=19990905
SERVER_NAME=Server
DATABASE_NAME=Database
Login=NewUser
Password=NewPassword

Now I want to write shell (ksh) script, using which I can read Business date value i.e.19990905

There are lots of ways to do this. One simple way is:

sed -n 's/Business Date=//p' File.txt

Using KSH

#!/bin/ksh

while IFS="=" read var val
do
        [[ "$var" = "Business Date" ]] && printf "${val}\n"
done < file.txt

Using awk

awk -F'=' '/Business Date/{print $NF}' file.txt

you can try also

grep 'Business Date' test1.txt