> why not
>
> :1;/Citations: /-1d
>
> of course, this is linewise, what's before "Citations: " in the same
> line is not deleted.
>
> Andy
oops, just overlooked Yakov's answer, sorry.
Andy
___
Telefonate ohne weitere Ko
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 adva
Boyko Bantchev wrote:
On 9/13/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
(a) if the pattern is at the start of a line:
:1,.-1d
(b) otherwise
hdgg
will delete everything preceding it to the start of the file.
When I started answering Nikolaos, I was also initially
thinkin
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL P
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >> Yakov Lerner wrote:
>> >> > On 9/13/06, Nikolaos A.
Nikolaos A. Patsopoulos wrote:
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >>
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >>
>> >> I'm trying to d
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >>
>> >> I'm trying to d
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Yakov Lerner wrote:
>> > On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >>
>> >> I'm trying to delete several lines f
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
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
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm trying to delete several lines from the beginning of file till
the
>> appearance of a specific pattern, withou
Nikolaos A. Patsopoulos wrote:
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
Well
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm trying to delete several lines from the beginning of file till
the
>> appearance of a specific pattern, withou
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm trying to delete several lines from the beginning of file till the
>> appearance of a specific pattern, without deleting the pattern
Yakov Lerner wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
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 offse
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
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.
Try
Boyko Bantchev wrote:
On 9/13/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to delete several lines from the beginning of file till the
appearance of a specific pattern, without deleting the pattern.
Does the following work for you?
gg
/Citations: /
d0
:1,.-1d
Cheers
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
18 matches
Mail list logo