[linux] Regexp a shell

Matus "fantomas" Uhlar uhlar na fantomas.sk
Úterý Leden 23 15:13:28 CET 2001


-> On Tue, Jan 23, 2001 at 12:59:36PM +0100, Matus fantomas Uhlar wrote:
-> > -> Daju sa v shell skripte pouzit regexp
-> > 
-> > co chces?
-> Rad by som robyl nejake substitucie v premennych s/nieco/za nieco/

a=`echo $a |sed 's/blah1/blah2/'`

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar na fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 REALITY.SYS corrupted. Press any key to reboot Universe.

---
Odchozí zpráva obsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.217 / Virová báze: 102 - datum vydání: 1/12/2000



Další informace o konferenci linux