Re: Sed or awk: remove a line from a file
Andrei Popescu wrote:
> On Fri,28.May.10, 15:19:21, Dotan Cohen wrote:
>
>
>> sed or awk. But I've been reading sed and awk tutorials for two hours
>> and I cannot figure out how to remove line N from the file without
>> creating a second file. If I'm already going through the hassle of
>> creating then moving a second file then I might as well just edit the
>> file in VIM.
>>
>> Any ideas?
>>
>
> The '-i' option for sed?
>
> Regards,
> Andrei
>
Is there such option for awk?
Reply to: