a=2
sed -n "/${a}/p" list | cut -d "#" -f1
this dosen't print only second line.....
how can it b done....
a=2
sed -n "/${a}/p" list | cut -d "#" -f1
this dosen't print only second line.....
how can it b done....
a=2
sed -n "${a}p" list | cut -d "#" -f1