Convert lower case to upper and upper to lower case using tr


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/vhosts/softimage.net/httpdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/vhosts/softimage.net/httpdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

lower to upper

tr '[a-z]' '[A-Z]' < lower-upper-case.file > upper-lower-case.file

upper to lower

tr '[A-Z]' '[a-z]' < upper-lower-case.file > lower-upper-case.file