Write a script called mycut.sh
And invoke the script using mycut.sh android
Snippets of mycut.sh is given below
===================
PAR_SLICE=$1
SLICE=`echo $PAR_SLICE
cut -c4-7`
echo $SLICE
SOA_USER=soa_"$SLICE"
echo $SOA_USER
SOA_DOMAIN_NAME=soa_"$SLICE"_Domain
echo $S0A_DOMAIN_NAME
================ Execute : ./mycut.sh android =============== Output roid soa-roid soa_roid_Domain
And invoke the script using mycut.sh android
Snippets of mycut.sh is given below
===================
PAR_SLICE=$1
SLICE=`echo $PAR_SLICE
cut -c4-7`
echo $SLICE
SOA_USER=soa_"$SLICE"
echo $SOA_USER
SOA_DOMAIN_NAME=soa_"$SLICE"_Domain
echo $S0A_DOMAIN_NAME
================ Execute : ./mycut.sh android =============== Output roid soa-roid soa_roid_Domain
No comments:
Post a Comment