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 HPUX
towupper
wconv(3C)wconv(3C)NAME
towupper(), towlower() - translate wide characters
SYNOPSIS
Remarks:
These functions are compliant with the XPG4 Worldwide Portability Interface wide-character conversion functions. They parallel the 8-bit
character conversion functions defined in conv(3C).
DESCRIPTION
and have as domain a the value of which is representable as a or the value If the argument has any other value, the behavior is undefined.
If the argument of represents a lowercase letter, the result is the corresponding uppercase letter. If the argument of represents an
uppercase letter, the result is the corresponding lowercase letter. All other arguments are returned unchanged.
Definitions for these functions, the types and the value are provided in the header.
EXTERNAL INFLUENCES
Locale
The category determines the translations to be done.
International Code Set Support
Single-byte and multi-byte character code sets are supported.
AUTHOR
was developed by IBM, OSF, and HP.
SEE ALSO conv(3C), multibyte(3C), wctype(3C), setlocale(3C), lang(5), thread_safety(5).
STANDARDS CONFORMANCE wconv(3C)