I have a text file with over 10000 lines and use this code to separate some things:
BS=`cat myfile | grep myword`
cutbs=`cut -d'=' -f2 $BS | sort -u
$cat cutbs
qwe
asd
zxc
Now I would like print output of this sort in one line like below:
$cat cutbs
qwe asd zxc