Nikolaos A. Patsopoulos schrieb: > Hi, > > I'm trying to delete several lines from the beginning of file till the > appearance of a specific pattern, without deleting the pattern. I have > used the following command: > > :1,/Citations: /d/e-10 > > but the offset doesn't work. > > Thanks in advance, > > Nikos
why not :1;/Citations: /-1d of course, this is linewise, what's before "Citations: " in the same line is not deleted. Andy ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de