Does your file have a newline as the last character ? You'll experience problems if not.$ sed -e '1d;$d' jaxws/src/share/jaxws_classes/com/sun/xml/internal/me +ssaging/saaj/soap/SOAPDocumentFragment.java > t $ diff jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/sa +aj/soap/SOAPDocumentFragment.java t 1d0 < /* 45d43 < }
In reply to Re^3: Deleting first and last lines of a text file
by Bloodnok
in thread Deleting first and last TWO(2) lines of a text file
by vsmeruga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |