Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Problems with one line output

$
0
0
my echo $var1 gives below value


Code:


       
Code:

       
1.7_NEW=25,1.7_RETAINED=30,1.7_RETURNING=40


i want it in 3 different values....

i.e. as


Code:


       
Code:

       
echo $1.7_NEW=25
echo $1.7_RETAINED=30
echo $1.7_RETURNING=40





the o/p of $1.7_NEW should be 25.....

Viewing all articles
Browse latest Browse all 16232

Trending Articles