This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes simple sed command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "simple sed command" Watch "simple sed command" New topic

simple sed command

Pappu Kumar
Ranch Hand

Joined: Oct 01, 2002
Posts: 69
I have a file ("test.dat"). How do i remove the first 26 characters of the First and the Last line of this file. PLease suggest.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

[ May 09, 2006: Message edited by: Stefan Wagner ]
[ May 09, 2006: Message edited by: Stefan Wagner ]
I agree. Here's the link:
subject: simple sed command
It's not a secret anymore!