
UNIX 명령줄에서 이전 줄의 기존 줄을 삭제하고 싶습니다. 내 파일에 다음 데이터가 있습니다.
<xref id="gi_525506931_ref_NP_001266519.1__brain_aromatase"/>
<entry ac="IPR002401" desc="Cytochrome P450, E-class, group I" name="Cyt_P450_E_grp-I" type="FAMILY">
<entry ac="IPR001128" desc="Cytochrome P450" name="Cyt_P450" type="FAMILY">
<entry ac="IPR001128" desc="Cytochrome P450" name="Cyt_P450" type="FAMILY">
<entry ac="IPR001128" desc="Cytochrome P450" name="Cyt_P450" type="FAMILY">
따라서 다음과 같아야 합니다.
<xref id="gi_525506931_ref_NP_001266519.1__brain_aromatase"/>
<entry ac="IPR002401" desc="Cytochrome P450, E-class, group I" name="Cyt_P450_E_grp-I" type="FAMILY">
<entry ac="IPR001128" desc="Cytochrome P450" name="Cyt_P450" type="FAMILY">