This is not what you're looking for... Does it need to be a command line?
try this short script, instead:
-Begin Script--
#!/usr/local/bin/perl
use strict;
use File::Copy;
use vars qw/$startDir/;
my $startDir = shift;
upperFilesInDir($startDir);
sub upperFilesInDir {
my $dir = s
Did you see the tr command syntax is somewhat like,
tr/a-z/A-Z/
I dont have the exact syntax in top of my head, but you can check it in
documentation.
Nasir Kamal
-Original Message-
From: Dennis Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 7:32 AM
To: [EMAIL PROTECT
Hi perl users,
I have ftp some files from NT to unix and it has put all my files in lowercase.
Is there a way to use the perl command line to uppercase all my files.
should be something perl -p -e ??? *
output would be fileato FILEA
I know how to use sed buit I dont