Hi all,
I have a 10.txt file. In this file 2 words are present by name Active and Inactive and these words are repeated 7000 times. I want to take the unique 2 words from this 7000 lines.
Thanks
Mahalakshmi.A (3 Replies)
Hi,
I have a file like this:
Some_String_Here 123 123 123 321 321 321 3432 3221 557 886 321 321
I would like to find only the unique values in the files and get the following output:
Some_String_Here 123 321 3432 3221 557 886
I am trying to get this done using awk. Can someone please... (5 Replies)
Hi,
I have been dealing with a files only a few gigs until now and was able to get out by using the sort utility. But now, I have a terabyte file which I want to filter out unique values from.
I have a server having 8 processor and 16GB RAM with a 5 TB hdd. Is it worthwhile trying to use... (6 Replies)
After giving
grep -A4 "feature 1," <file name>
I have extracted the following text
feature 1,
subfeat 2,
type 1,
subtype 5,
dump '30352f30312f323030392031313a33303a3337'H -- "05/01/2009 11:30:37" --
--
... (1 Reply)
Hello all,
I have a file with following sample data
2009-08-26 05:32:01.65 spid5 Process ID 86:214 owns resources that are blocking processes on Scheduler 0.
2009-08-26 05:32:01.65 spid5 Process ID 86:214 owns resources that are blocking processes on Scheduler 0.
2009-08-26... (5 Replies)
Hi All,
I have a file which is having 3 columns as (string string integer)
a b 1
x y 2
p k 5
y y 4
.....
.....
Question:
I want get the unique value of column 2 in a sorted way(on column 2) and the sum of the 3rd column of the corresponding rows. e.g the above file should return the... (6 Replies)
Hi
I have the following info in a file -
<Cell id="25D"/>
<Cell id="26A"/>
<Cell id="26B"/>
<Cell id="26C"/>
<Cell id="27A"/>
<Cell id="27B"/>
<Cell id="27C"/>
<Cell id="28A"/>
I would like to know how would you go about counting all... (4 Replies)
Hi,
Im looking for a script which will calculate the unique strings column 2 & 3 values in a log as mentioned in example
eg:-
bag 12 12
bag 18 15
bags 15 13
bags 15 14
blazer 24 24
blazer 33 32
boots 19 15
Result should be:-
bag 30 27
bags 30 27... (9 Replies)
Hello experts,
I am converting a number into its binary output as :
read n
echo "obase=2;$n" | bc
I wish to count the maximum continuous occurrences of the digit 1.
Example :
1. The binary equivalent of 5 = 101. Hence the output must be 1.
2. The binary... (3 Replies)
Discussion started by: H squared
3 Replies
LEARN ABOUT DEBIAN
iswupper
ISWUPPER(3) Linux Programmer's Manual ISWUPPER(3)NAME
iswupper - test for uppercase wide character
SYNOPSIS
#include <wctype.h>
int iswupper(wint_t wc);
DESCRIPTION
The iswupper() function is the wide-character equivalent of the isupper(3) function. It tests whether wc is a wide character belonging to
the wide-character class "upper".
The wide-character class "upper" is a subclass of the wide-character class "alpha", and therefore also a subclass of the wide-character
class "alnum", of the wide-character class "graph" and of the wide-character class "print".
Being a subclass of the wide-character class "print", the wide-character class "upper" is disjoint from the wide-character class "cntrl".
Being a subclass of the wide-character class "graph", the wide-character class "upper" is disjoint from the wide-character class "space"
and its subclass "blank".
Being a subclass of the wide-character class "alnum", the wide-character class "upper" is disjoint from the wide-character class "punct".
Being a subclass of the wide-character class "alpha", the wide-character class "upper" is disjoint from the wide-character class "digit".
The wide-character class "upper" contains at least those characters wc which are equal to towupper(wc) and different from towlower(wc).
The wide-character class "upper" always contains at least the letters 'A' to 'Z'.
RETURN VALUE
The iswupper() function returns nonzero if wc is a wide character belonging to the wide-character class "upper". Otherwise it returns
zero.
CONFORMING TO
C99.
NOTES
The behavior of iswupper() depends on the LC_CTYPE category of the current locale.
This function is not very appropriate for dealing with Unicode characters, because Unicode knows about three cases: upper, lower and title
case.
SEE ALSO isupper(3), iswctype(3), towupper(3)COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU 1999-07-25 ISWUPPER(3)