praedor,

> Someone once posted a simple script for changing upper case letters to lower 
> case, I believe, in this list.  I didn't keep the message but I now have need 
> of this script.  Could someone please post such a script?

Here's one post from the past...

----------
    Date: Sat, 19 Aug 2000 11:51:04 +0200
    From: Alexander Skwar <[EMAIL PROTECTED]>
    To: [EMAIL PROTECTED]
    Subject: Re: [expert] Scripting- Uppercase to lowercase


    On Thu, Aug 03, 2000 at 03:18:08PM -0500, LINUX_1 wrote:
    > cat file | sed parameters_i_dont_remember > file

    If "file" and "file" are the same files, you'll end up with an empty "file".

    Renaming

        for NAME in `find www_root -type f` ; do
            mv $NAME `echo $NAME | tr '[:upper:]' '[:lower:]'
        done
----------

Thanks... Dan.



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to