TOWUPPER(3) BSD Library Functions Manual TOWUPPER(3)NAME
towupper, towupper_l -- lower case to upper case letter conversion (wide character version)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wctype.h>
wint_t
towupper(wint_t wc);
#include <wctype.h>
#include <xlocale.h>
wint_t
towupper_l(wint_t wc, locale_t loc);
DESCRIPTION
The towupper() function converts a lower-case letter to the corresponding upper-case letter.
Although the towupper() function uses the current locale, the towupper_l() function may be passed a locale directly. See xlocale(3) for more
information.
RETURN VALUES
If the argument is a lower-case letter, the towupper() function returns the corresponding upper-case letter if there is one; otherwise, the
argument is returned unchanged.
SEE ALSO iswupper(3), toupper(3), towlower(3), wctrans(3), xlocale(3)STANDARDS
The towupper() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD October 3, 2002 BSD
Check Out this Related Man Page
TOWUPPER(3) BSD Library Functions Manual TOWUPPER(3)NAME
towupper, towupper_l -- lower case to upper case letter conversion (wide character version)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wctype.h>
wint_t
towupper(wint_t wc);
#include <wctype.h>
#include <xlocale.h>
wint_t
towupper_l(wint_t wc, locale_t loc);
DESCRIPTION
The towupper() function converts a lower-case letter to the corresponding upper-case letter.
Although the towupper() function uses the current locale, the towupper_l() function may be passed a locale directly. See xlocale(3) for more
information.
RETURN VALUES
If the argument is a lower-case letter, the towupper() function returns the corresponding upper-case letter if there is one; otherwise, the
argument is returned unchanged.
SEE ALSO iswupper(3), toupper(3), towlower(3), wctrans(3), xlocale(3)STANDARDS
The towupper() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD October 3, 2002 BSD
I can't seem to list all the files that begin with a lower case or upper case letter between a-m while being in that directory?
Please help I've tried everything from all the ls commands to even grep commands.
b (5 Replies)
I am attempting to have an upper case and lower case version of the input. I am using tr in perl, but I want to know if this can be done in a more efficient manner.
Here is my code:
sub getserver {
print "Please enter the server name: ";
$servername=<>;
... (2 Replies)
Hi all can you please help me what is dead.letter file ?
when it is created ? for the first time i have seen this file getting created in my current directory?
I am using SunOs.
Any IDEA ?? (2 Replies)
Friends
I want to automat sending a letter to different persons whose directories are named as 001, 002, 003, 004.
To push the same letter to all these directories, I need to name the letter as letter.001, letter.002 like that.
Is there any method whereby I get the extension of this letter... (2 Replies)
hi guys i am writing a script to change the filename which is enterered as input to lower case letter even if one letter is upper case i have to change it to lower case
i get the input and use
sed comand should i use like that
sed/s/a-z/A-Z/d
will it be like that can u please help me (8 Replies)
Hi guys,
I have a file separated by ",". I´m trying to change to upper case the first letter of each word in column 2 to establish a standard format on this column.
I hope somebody could help me to complete the SED or AWK script below.
The file looks like this:
(Some lines in column 2... (16 Replies)
Input file
>Read_1
XXXXXXXXXXSDFXXXXXDS (condition 1: After the last "X" per line, if the distance is less than or equal to 3 letter, replace those not "X" letter with "X")
TREXXXXXXXSDFXXXXXDS (condition 2: Before the first "X" per line, if the distance is less than or equal to 3 letter,... (12 Replies)
Im trying to use wild cards to find files that start with either an upper or lower case letter e.g. list files that beginning with b or B, i also want to sort them by the time they were last modified. e.g latest file created first.
At the moment i have the following code that
ls -d... (3 Replies)
Hi !
Is there a more convenient way to do the following:
When, in $2, there is more then one letter (separated by ","), it returns the letter on the second position to a new line in $2 with the same content in $1 and $3 as the line this letter comes from.
infile:
aaaaa A,B 1,2,3,4,5... (6 Replies)
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
I am trying to remove the last letter in a file and then multiply each line (which contained this letter) by 500. This is what I have:
1499998A
1222222A
1325804A
1254556
1235
9998
777
cat /tmp/listzz |gawk '{print $4}'|gawk '{gsub(//, ""); print } This removes the A... (1 Reply)
Good afternoon all,
I want to ask how to change some letter in my file with other letter in spesific line
eg.
data.txt
1
1
1
0
0
0
0
for example i want to change the 4th line with character 1.
How could I do it by SED or AWK.
I have tried to run this code but actually did not... (3 Replies)