1.only doing sth.放在句尾,表示方式、状况或结果,only 表示强调。
She died,only leaving nothing but debts. 她死了,只留下一身债。
He started off in a hurry,only leaving a lot of work undone. 他匆忙走了,留下许多工作未做。
2.only to do sth.放在句尾,作结果状语,表示没有预料的结果,有时含有某种感情色彩。
The thief ran into the wood only to be caught by a passerby. 小偷跑进了树林,想不到被一个过路人抓住了。
He went to see her only to find her out. 他去看她,不料发现她出去了。
She started with the aim of doing harm to others only to end up by ruining herself. 她以损人开始而以害己告终。
He made a long speech only to show his ignorance of the subject. 他作了长篇大论的发言,结果暴露了他对这个学科的无知。
New forests grew only to be covered by sand,mud and water again. 新的森林长起来了,结果又被泥沙和水覆盖了。