On Nov 28, 2007 9:26 AM, adrian kok <adriankok2000 at yahoo.com.hk> wrote: > Hi > > Please help how insert `who` in the third line of the > file > > "head -n 3 file" << `who` $ ed -s foo <<EOF > 3r !who > wq > EOF $ John