freeware

Threads Posts Archives


<< Previous Thread << Previous Post Topic 153 of 16625
Posts 1 of 1
Next Post >> Next Thread >>

Re: Grepping lines.


de Gary R. Schmidt 01/31/2008 10:24



John Fitzsimons wrote:
> Okay, I have the following list. It is NOT a file. I want to list all
> the words that contain "i" in. I want to use a windows program.
> Not DOS, not Unix, etc. What would do that please ?
>
> paxton
> pinite
> taipei
> tiepin
> atone
> axone
> epona
> inapt
> inept
> ionia
> oaten
> panto
> patio
> paton
>
> P.S. Most grepping programs are not windows and/or require input from
> a file, not a paste selection. :-(
>
> I feel that this should be able to be done in a text editor but which
> one ? Notetab would work but I don't want to create/use a script if I
> can avoid it.
>
In vi/vim/gvim, ex, and their sibling *text* editors it's a doddle.

In vi: :g/i/p
In ex: g/i/p

I've been using vi for so many decades that I can barely recall any
other ways of searching, maybe "Keypad 7" in EDIT/EDT.

Cheers,
Gary B-)

--
______________________________________________________________________________
Armful of chairs: Something some people would not know
whether you were up them with or not
- Barry Humphries



Re: Grepping lines. Gary R. Schmidt
 
freeware