Search Results

Search: Posts Made By: osbourneric
6,044
Posted By osbourneric
Vim help - delete words in a file or characters after pattern
I have a file with words that begin with character #. Whenver that character is found that word should be deleted throughout the file. How do I do that in VIM.

e.g:

afkajfa ladfa ljafa #222222...
6,297
Posted By osbourneric
deleting lines in a file that match a pattern without opening it
In Unix, how do I delete lines in a file that match a particular pattern without opening it. File contents are

foo line1
misc
whatever
foo line 2

i want to delete all lines that have the...
2,809
Posted By osbourneric
Conditional merge using vi
How do I do this in VI. I have a file with pattern like this..

pattern line
line1
line2
line3
line4
pattern line
line1
line2
line3
line4
pattern word
line1
line2
line3
line4
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy