Hi All,
I have a script which has the following lines
----------------------------------------
filename =detail.txt
text='hai'
var1=`cat $filename|grep text|sed 1q`
echo var1
--------------------------------
I just want to know what does sed 1q does?
Thanks in advance
LM