In the last episode (Dec 17), Alex said:
> I need in my shell script change upper case to lower case for
> characters. Cureently , I call c programm from script which do it. Is
> anybody did this inside script?

#!/bin/sh
var=MixedCase
lvar=`echo $var | tr A-Z a-z`
echo $lvar

#!/usr/local/bin/zsh
var=MixedCase
lvar=${var:l}
echo $lvar

-- 
        Dan Nelson
        [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to