Hi all,
I wanted to split a single line into two line.
For example:
A/B/C 10
i want this output
var1 = A/B/C
var2 = 10
How do i get this.
Hi all,
I wanted to split a single line into two line.
For example:
A/B/C 10
i want this output
var1 = A/B/C
var2 = 10
How do i get this.
echo 'A/B/C 10' | awk '{print "var1 = " $1; print "var2 = " $2}'
Thanks a lot its working...