wood burning stoves 2.0*
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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "simple sed command" Watch "simple sed command" New topic
Author

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 ]

http://home.arcor.de/hirnstrom/bewerbung
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: simple sed command