[LUGOS] Translate to upper case

Igor Kresnik kresnik.igor at gmail.com
Fri Sep 29 23:41:25 CEST 2006


kako ste zadovoljni z sunosom in kako se razume z win XP?

Franc Farazin pravi:
> Meni tole ne dela (SunOS 5.8, ksh)...
>
> /tmp# sed -e 's/Computer:\\1</`echo $1 | tr 'a-z' 'A-Z'`/' test.xml
> <Name>Computer:vm01.domain.com</Name>
> <Name>Computer:vm02.domain.com</Name>
>
>
> -----Original Message-----
> From: lugos-list-bounces+franc.farazin=hermes.si at lugos.si
> [mailto:lugos-list-bounces+franc.farazin=hermes.si at lugos.si] On Behalf
> Of Nejc Skoberne
> Sent: 29. september 2006 16:47
> To: Glavni dopisni seznam LUGOSa
> Subject: Re: [LUGOS] Translate to upper case
>
>
>   
>> INPUT:
>> ============
>> .
>> <Name>Computer:vm01.domain.com</Name>
>> .
>>
>> OUTPUT:
>> ==========
>> .
>> <Name>Computer:VM01.DOMAIN.COM</Name>
>> .
>>     
>
> Meni tole dela:
>
> sed -e 's/Computer:\\1</`echo $1 | tr 'a-z' 'A-Z'`/' INPUT_FILE >
> OUTPUT_FILE
>
> LP, Nejc
> _______________________________________________
> lugos-list mailing list
> lugos-list at lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>
>   


More information about the lugos-list mailing list