Hi,
i have written a shell script and its working fine till now. Now, i have to enhance it with a small updation.
i need to make a file inside my file that will contain the below parameters
1) Customer_id
2) Server_id
3) No. Account
All the above variables are already been taken in the script.
the output of the file should be like below :-
SERVER:xxxxxxxx
CUSTOMER:xxxxxxx
SERVER_ID:x
Account:XXXXXX
name of the file will be :-
accounts_control_info_<SERVER_ID>
this accounts i am calling in anther function in the script like this:-
if [[ "${1}" = "ACCOUNTS" ]]
then
grep "payer" $2 > ${LOCAL_DIR}/tmp.ci_payer_${CREATION_DATE}_${SERVER_ID}.txt
the above if condition is called inside loop. I need to make a file here with the above entries.
can anyone help me with this.. need urgently