I want to convert string into uppercase string. How can i do that ? Ex: Enter the user name:
read name
show=upper(name)
echo $show --- This output should be the uppercase output.
Thanks (3 Replies)
Hi,
I am trying to convert the $i in loop from lower to upper case but getting error like ' awk: 0602-502 The statement cannot be correctly parsed. The source line is 1.' ..
Requirement: I have many table in script XXX.sql which starting with 'ABC_','AbC_','aBc_' etc.. same thing for table... (2 Replies)
Inside a script I have 2 variables COMP=cy and PT=t. further down the same script I require at the same line to call those 2 variables the first time uppercase and after lowercase ${COMP}${PT}ACE,${COMP}${PT}ace. Can somebody help me
Thanks in advance
George Govotsis (7 Replies)
Another frustrating scripting problem from a biologist trying to manipulate a file with several millions line. For each of the line I need to compare the uppercase A or C or G or T with the lowercase a or c or g or t. If there are more uppercases, a + should be added to a new column, otherwise a -... (10 Replies)
I want to make the first character of some words to be uppercase. I have a file like the one below.
uid,givenname,sn,cn,mail,telephonenumber
mattj,matt,johnson,matt johnson,mattj@gmail.com
markv,mark,vennet,matt s vennet,markv@gmail.com
mikea,mike,austi,mike austin,mike@gmail.com
I want... (3 Replies)
Hello,
I have a list of files in a directory whose names are all in uppercasse, including the file format for eg *.MP3 . I would like to convert these to the normal way we write it ie ABC.MP3 to be converted to Abc.mp3 . I know that this can be done manually by using a lot of "mv" or rename... (6 Replies)
Discussion started by: ajayram
6 Replies
LEARN ABOUT OSF1
towupper
towlower(3) Library Functions Manual towlower(3)NAME
towlower, towupper - Convert uppercase and lowercase wide characters
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <wctype.h>
wint_t towlower ( wint_t wc);
wint_t towupper ( wint_t wc);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
towlower(), towupper(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the wide character to convert.
DESCRIPTION
The towlower() function converts the uppercase wide character specified by the wc parameter into the corresponding lowercase wide charac-
ter. The towupper() function converts the lowercase wide character specified by the wc parameter into the corresponding uppercase wide
character. The behavior of the towlower() and towupper() functions are affected by the LC_CTYPE category of the program's locale.
[Tru64 UNIX] In a locale where case conversion information is not defined, these functions determine the case of characters according to
the rules of the C locale.
RETURN VALUES
In the towlower() function, if the wc parameter contains an uppercase wide character that has a corresponding lowercase wide character,
that wide character is returned. Otherwise, the wc parameter is returned unchanged.
In the towupper() function, if the wc parameter contains a lowercase wide character that has a corresponding uppercase wide character, that
wide character is returned. Otherwise, the wc parameter is returned unchanged.
RELATED INFORMATION
Functions: conv(3), setlocale(3), towctrans(3), wctrans(3)
Standards: standards(5) delim off
towlower(3)