#!/bin/bash
v="test"
result=`grep 'Dir=' /home/xtend/Videos/file.ini | cut -d'=' -f 2`;
foo="$result"
foo+="$v"
echo $foo
answer expecting(/home/file/test)
answer getting(teste/file)
(In "/home/xtend/Videos/file.ini" "Dir=/home/file/") ...
how it is outputing like this?