Re: Apostrof v SEDu

From: Ing. Vlastimil Pospíchal (vpospichal@tiscali.cz)
Date: 26. 11. 2002, 18:35 CET


On Tue, Nov 26, 2002 at 10:05:29AM +0100, Karel Dohnal wrote:
>   nevedel by nekdo z Vas, jak do SEDu narvat 
> "apostrof" ? Mam text, ze ktereho potrebuji 
> odstranit prave tento znak. 
>  
> echo "Mam's here" | sed -e 's/\'/ /g'  
> tak na me bude zarvana chyba. 
> Ch 

Třeba takto:

   echo "Mam's here" | sed -e "s/'/ /g"

Kit
-- 
Ing. Vlastimil Pospíchal
http://www.hoteldrnholec.cz



This archive was generated by hypermail 2.1.2 : 26. 11. 2002, 23:15 CET