etc. of course values in file are diff.
All I need it to store value of first field first coloumn in X variable for further comparation...
can I use cut command for that??
no I just want my x variable to be first line of output
resoult of
while read line
do
x=`echo $line | cut -c 6-9`
echo $x
done < file
is x=0012
0012
0012
...
basicly it takes colomns 6-9 from my file and stores it to x
I just want it to take 6-9 colomns from first line that is all not all lines