From: Michal Kratky <kratky@FZU.CZ>
Subject: Re: sed rada
Date: Fri, 27 Dec 1996 13:17:15 +0100
Next Article (by Author): prazdne maily (was Re: SCSI) Milos Rysavy
Previous Article (by Author): Re: prazdne maily (was Re: SCSI) "Mgr. Palikova Bronislava"
Top of Thread: sed rada Matus Uhlar
Next in Thread: Re: sed rada Peter Kundrat
Articles sorted by: [Date]
[Author]
[Subject]
On Fri, 27 Dec 1996, Matus Uhlar wrote: > Dobry den... > > mam sed skriptik ktory mi prehadzuje znaky za ine, napriklad 'ch' meni na > 'x' a podobne... > > Nevie mi niekto poradit rychly jednoduchy a efektivny sposob ako z tohto > vynechat prve pole ? (po prvu medzeru) > Regularni vyraz by to mel zvladnout ne ? s/^\([^ ]\)*\( +\)\(.*\)ch/\1 \3x/g Takhle bych se snazil mecovat cokoliv krome mezery, potom mezeru, potom cokoliv, potom ch. Kde to zamecuje, nahradil bych to tim samym prvnim mecem, mezerou, tim samym tretim mecem a potom x. Ale nevyzkousel jsem to. Zejmena nevim, jak se to zatvari na to koncove g . M.chal Kratky
Next Article (by Author): prazdne maily (was Re: SCSI) Milos Rysavy
Previous Article (by Author): Re: prazdne maily (was Re: SCSI) "Mgr. Palikova Bronislava"
Top of Thread: sed rada Matus Uhlar
Next in Thread: Re: sed rada Peter Kundrat
Articles sorted by: [Date]
[Author]
[Subject]