if assume that the output of the command
is this:
7485.5
how do i separate the digit using grep into this:
7
4
8
5
and this output I able to manipulate it and assigned to new variable:
$num1=7
$num2=4
$num3=8
$num4=5
if assume that the output of the command
is this:
7485.5
how do i separate the digit using grep into this:
7
4
8
5
and this output I able to manipulate it and assigned to new variable:
$num1=7
$num2=4
$num3=8
$num4=5