ISWBLANK(3) Linux Programmer's Manual ISWBLANK(3)NAME
iswblank - test for whitespace wide character
SYNOPSIS
#include <wctype.h>
int iswblank(wint_t wc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
iswblank():
_XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L;
or cc -std=c99
DESCRIPTION
The iswblank() function is the wide-character equivalent of the isblank(3) function. It tests whether wc is a wide character belonging to
the wide-character class "blank".
The wide-character class "blank" is a subclass of the wide-character class "space".
Being a subclass of the wide-character class "space", the wide-character class "blank" is disjoint from the wide-character class "graph"
and therefore also disjoint from its subclasses "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct".
The wide-character class "blank" always contains at least the space character and the control character ' '.
RETURN VALUE
The iswblank() function returns nonzero if wc is a wide character belonging to the wide-character class "blank". Otherwise it returns
zero.
CONFORMING TO
POSIX.1-2001.
NOTES
The behavior of iswblank() depends on the LC_CTYPE category of the current locale.
SEE ALSO isblank(3), iswctype(3)COLOPHON
This page is part of release 3.27 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 2010-09-20 ISWBLANK(3)
Check Out this Related Man Page
ISWBLANK(3) Linux Programmer's Manual ISWBLANK(3)NAME
iswblank - test for whitespace wide character
SYNOPSIS
#include <wctype.h>
int iswblank(wint_t wc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
iswblank(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
DESCRIPTION
The iswblank() function is the wide-character equivalent of the isblank(3) function. It tests whether wc is a wide character belonging to
the wide-character class "blank".
The wide-character class "blank" is a subclass of the wide-character class "space".
Being a subclass of the wide-character class "space", the wide-character class "blank" is disjoint from the wide-character class "graph"
and therefore also disjoint from its subclasses "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct".
The wide-character class "blank" always contains at least the space character and the control character ' '.
RETURN VALUE
The iswblank() function returns nonzero if wc is a wide character belonging to the wide-character class "blank". Otherwise it returns
zero.
CONFORMING TO
POSIX.1-2001.
NOTES
The behavior of iswblank() depends on the LC_CTYPE category of the current locale.
SEE ALSO isblank(3), iswctype(3)COLOPHON
This page is part of release 3.25 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 2007-07-26 ISWBLANK(3)
I'm having a problem when the first line or first character of a file is blank. I need to get rid of both of them when they occur but don't want to delete the line. Does anyone have any suggestions? (7 Replies)
In my program, I'm trying to replace all the '\' characters with a blank space:
.
.
740 for (k = 0; k < strlen(QueryBuffer_a); k++)
741 {
742 if (QueryBuffer_a == '\')
743 QueryBuffer_a = ' ';
744 }
.
.... (1 Reply)
Hi
I am running a script (which compares two directory contents) for which I am getting an output of 70 pages in which few pages are blank so I was able to delete those blank lines.
But I also want to delete the headers present for each page. can any one help me by providing the code... (1 Reply)
Hi,
Please can you someone help me out to eliminate the problem. Here, it correctly prints the myFilenameCount but returns the first value of array myFilenamePatterns as blank.
Thanks,
Sudhakar
i=0
get_config_values_from_mediation_cfg "FILENAME_PATTERN"|while read myFilenamePatterns
do... (1 Reply)
i want a command for my script!!!
say file consists of character 123 125 127.
i need a query to replace the number 2 with 0
so the output should be 103 105 107.
i use unix-aix (8 Replies)
HI ,
I have to check the values of variable is blank or not.
exm :
###test
test1
var=`cate filename | head -1 | cut -c1-3`
I need to check the first three character of 1st line . if it is blank .then exit or we need to process .
Thanks in advance . (2 Replies)
Hi folks,
Please share your ideas I want to conventor all the blank space's in my file to a single blank,
Im using this currently sed 's/ / /' foo for two blank space but the blanks in the file varies like for example 2 blanks, 3 blanks, 4 blanks etc etc....
please help what should... (2 Replies)
Hello everyone,
I want to replace all "," (commas) with a blank space
My command thus far is:
cat test.text | sed -e s/\`//g | awk '{print$1" "$2" "$3}'
I'm sure you guys know this, but the SED command that I am using is to get rid of the "`" (tics).
which gives me:
name ... (5 Replies)
Dear Masters,
Need your help for this small query.
I am trying to get all the strings that starts with a blank space as output.
Limitation is , it should be done only through AWK.
Input will be:
aa
_1bbb
c-ccc
ddd
eeeee
ff
Output should be:
_1bbb
c-ccc
eeee
ff (5 Replies)
dear all,
i have a question.
i have a data which looks like below
rs123 AATTTTTGGGGGGCC...
rs456 TTTTTTCCCCCCCCC...
rs5767 TTTTTTTGGGGGGCC...
rs89776 GGGGCCCCCCCCC...
WHAT I WANT is adding blank space as below:
rs123 AA TT TT TG GG GG GC ...
rs456 TT TT TT CC CC CC CC ...
rs5767... (3 Replies)
hi everyone,
i have a problem in unix script , i need to remove line that has blank , not blank line .
example: mahm,,jdggkhsd,ghskj,,fshjkl
can anyone help? (4 Replies)
Dear Gurus,
I have a unix file with multiple colons on each row, and I would like to replace each colon with a blank space using the awk command.
For example, I have the following data:
Data:
---------
A~000000000000518000~SLP:~99991231~20090701~00102.00~USD:~CS:~... (2 Replies)
Hi everbody,
i have a little problem.
i want to know how can i read from a txt file parametes and send it to a firefox http link.
all that in shell script
EXAMPLE-
the file 1.txt contains:
server1.com : google,yahoo,alex,cnn
server2.com : resdf,walsdfa,yndf,asdf
server3.com :... (11 Replies)
Hi all,
I have 89 columns,1200 rows in a flat file, some of the values are just '.' (the character dot). I want to replace them by nothing (blank), but when I do so, it affects the decimal numbers too. so 12.34 becomes 1234.
How can I just replace values which are only '.' with 1 white... (13 Replies)
Hi All,
Can we send a mail in unix blank in TO address with CC and BCC.
TO address should be blank
CC should not be blank
BCC should not be blank
thanks, (7 Replies)