« libc6 upgrade error on DebianInstalling Solaris 10 on Dell PE1950 and creating a DNS zone »

5 comments

Comment from: Sebastian Wieseler [Visitor] · http://shortblog.kickino.org/
Are you missing a ´? And you should replace it with $() -- so it should become $(echo $i | tr [:upper:])

But at least this doens't work out for me. :-(


As you can see it here:
$ echo "kickino" | tr -s [:lower:] [:upper:]
KICKINO

You had to specify both sets to convert it, I think.


Have a great day.
02/29/08 @ 16:19
Comment from: Thias [Member] Email · http://blog.mc-thias.org
Yep, I may have miss the () as my file names were pretty simple...
02/29/08 @ 17:17
Comment from: Jadu Saikia [Visitor] Email · http://unstableme.blogspot.com/
Two more ways from my side

$ ls | while read file
> do
> mv $file `echo $file|awk '{$1=tolower($1);print}'`
> done

$ ls | while read file
> do
> mv $file `echo $file | sed 's/.*/\L&/'`
> done

//Jadu
http://unstableme.blogspot.com/ (BASH blog)
03/16/08 @ 19:14
Comment from: pek [Visitor]
Try http://detox.sf.net.

I use: "detox -rs lower *"
01/22/09 @ 10:55
Comment from: dummy [Visitor]
try this:
http://sourceforge.net/projects/oobash/
especially if you use german umlauts
08/18/10 @ 23:55

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)