vi editor - dotaz zacatecnika

Jan ' Kozo ' Vajda jvajda na ns.somi.sk
Pátek Leden 2 14:34:37 CET 1998


:> 3. vi umoznuje oznacit si libovolny souvisly usek textu a prohnat ho
:>    libovolnym filtrem. Puvodni text bude nahrazen textem prefiltrovanym.
:>    Kterypak jiny editor tohle podporuje ?

joe 

     A very useful command is ^K /, which filters a block of text
     through  a  unix command.  For example, if you select a list
     of words with ^K B and ^K K, and then type ^K  /  sort,  the
     list  of  words will be sorted.  Another useful unix command
     for ^K /, is tr.  If you type ^K / tr a-z A-Z, then  all  of
     the  letters  in  the highlighted block will be converted to
     uppercase.




		                                   K O Z O 
                		    ===================================
                                      Look At Your Young Man Fighting
                                         Look At Your Woman Crying
                                       Look At Your Young Man Dying
                                    The Way They've Always Done Before



Další informace o konferenci Editors