p.txt
T|DCNT=100|RECCHK=22222.2|PERCHK=32323|#
I want to extract the value of 100 22222.2 and 32323 and assign it to variable
x1,y1,z1
x=`cut -f2 -d "=" p.txt`
x1=`echo $x | cut -f1 -d "|" `
y=`cut -f3 -d "=" p.txt`
y1=`echo $y | cut -f1 -d "|" `
z=`cut -f4 -d "=" p.txt`
z1=`echo $z | cut -f1 -d "|" `