Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tolower(3c) [hpux man page]

conv(3C)																  conv(3C)

NAME
toupper(), tolower(), _toupper(), _tolower(), toascii() - translate characters SYNOPSIS
DESCRIPTION
and have as domain the range of getc(3S): the integers from -1 through 255. If the argument of represents a lower-case letter, the result is the corresponding upper-case letter. If the argument of represents an upper-case letter, the result is the corresponding lower-case letter. All other arguments in the domain are returned unchanged. Arguments outside the domain cause undefined results. The macros and are identical to and respectively. yields its argument with all bits that are not part of a standard 7-bit ASCII character cleared; it is intended for compatibility with other systems. WARNINGS
is supplied both as a library function and as a macro defined in the header. Normally, the macro version is used. To obtain the library function, either use a to remove the macro definition or, if compiling in ANSI C mode, enclose the function name in parenthesis or take its address. The following examples use the library function for or The following example use the library function for EXTERNAL INFLUENCES
Locale The category determines the translations to be done. International Code Set Support Single-byte character code sets are supported. AUTHOR
was developed by IBM, OSF, and HP. SEE ALSO
ctype(3C), getc(3S), setlocale(3C), lang(5), thread_safety(5). STANDARDS CONFORMANCE
conv(3C)

Check Out this Related Man Page

conv(3C)																  conv(3C)

NAME
toupper(), tolower(), _toupper(), _tolower(), toascii() - translate characters SYNOPSIS
DESCRIPTION
and have as domain the range of getc(3S): the integers from -1 through 255. If the argument of represents a lower-case letter, the result is the corresponding upper-case letter. If the argument of represents an upper-case letter, the result is the corresponding lower-case letter. All other arguments in the domain are returned unchanged. Arguments outside the domain cause undefined results. The macros and are identical to and respectively. yields its argument with all bits that are not part of a standard 7-bit ASCII character cleared; it is intended for compatibility with other systems. WARNINGS
is supplied both as a library function and as a macro defined in the header. Normally, the macro version is used. To obtain the library function, either use a to remove the macro definition or, if compiling in ANSI C mode, enclose the function name in parenthesis or take its address. The following examples use the library function for or The following example use the library function for EXTERNAL INFLUENCES
Locale The category determines the translations to be done. International Code Set Support Single-byte character code sets are supported. AUTHOR
was developed by IBM, OSF, and HP. SEE ALSO
ctype(3C), getc(3S), setlocale(3C), lang(5), thread_safety(5). STANDARDS CONFORMANCE
conv(3C)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Grep for X character on a word

How can I grep for a certain letter that only shows on the 3rd letter or character. ex: ASGHDY SHTYRD SDTYRD IGIKGD I only want the TY part of the 3rd character so output would only be SHTYRD and DDTYRD - I only want the TY on the 3rd character. THANKS (5 Replies)
Discussion started by: jjoves
5 Replies

2. UNIX for Advanced & Expert Users

Removing ^M characters

hi I have a perl script conv.pl. when i execute this file and direct i to log file I see lots of ^M characters in the log file. There is no ^M in conv.pl file. Log file is generated only after conv.pl is executed. Please help as how to get rid of these. This conv.pl is going to get schduled... (0 Replies)
Discussion started by: infyanurag
0 Replies

3. UNIX for Dummies Questions & Answers

Removing ^M characters

hi I have a perl script conv.pl. when i execute this file and direct i to log file I see lots of ^M characters in the log file. There is no ^M in conv.pl file. Log file is generated only after conv.pl is executed. Please help as how to get rid of these. This conv.pl is going to get schduled... (5 Replies)
Discussion started by: infyanurag
5 Replies

4. Shell Programming and Scripting

delete all characters that aren't a letter or number

hey :) if i have a variable that is example=lewisdenny(copywrite symbol) so its not a nomal letter but a symbol, how can i remove everything in the varible that isnt letter or number thanks :) and as a side little question do you know how to remove .zip from a file like if i ls... (7 Replies)
Discussion started by: lewisdenny
7 Replies

5. Homework & Coursework Questions

how can i pass the conv=ucase and conv=lcase in bash script?

how can i pass this dd command utility conv=ucase and conv=lcase in bash script? if for example i have sample menu like: Menu for translating contents of file A.) translate contents of file to lowercase B.) translate contents of file to uppercase how to do this in the script so... (0 Replies)
Discussion started by: amneytia1
0 Replies

6. UNIX for Dummies Questions & Answers

apply a function twice successively with the same input in awk program

Hi ! It is a general question. When an awk script looks like: #! bin/awk function example(i){ <body> } { example(1) #the function uses input_1 and return output_a } { example(2) #the function uses previous output_a as an input and returns... (15 Replies)
Discussion started by: beca123456
15 Replies

7. Shell Programming and Scripting

How to convert special characters?

Hi All, I have some text including Turkish characters and the 3rd party application that reads my file does not supporting this character set (at least, I have no control on it). So, I used below conversion for maximum character support but still have problems with "İ" and "Ş". Application... (5 Replies)
Discussion started by: mrcrowley
5 Replies