The first example returns nothing, while the second returns the letter 'a' -- the bad character according to my understanding of your request. The result of these commands could be set to a variable and/or simply analyzed to see if something 'fell thru' the command (and thus a bad character).
Hi,
I have a variable which has a list of string separated by comma.
for ex ,
Variable=/usr/bin,/usr/smrshbin,/tmp
How can i get the values between the commas separately using shell scripts.Please help me.
Thanks,
Padmini. (6 Replies)
Hi unix guru's
I want to execute a shell script like ksh printdetails.ksh Andy,Bob,Daisy,Johnson
like passing all the four names in the as the arguments and these arguments are varies between 1 to 10.
How to pass these names to the shell script variable.
and also i want to know the count... (4 Replies)
Hi all,
I have the following files types:
FileA:
100,
23,
33,
FileB:
22,
45,
78,
and i want to make
File C:
100,22
23,45
33,78
any nice suggestions for making it easy. (3 Replies)
Hello there,
I have a comma separated csv , and all the text field is wrapped by double quote. Issue is some text field contain comma as well inside double quote. so it is difficult to process.
Input in the csv file is ,
1,234,"abc,12,gh","GH234TY",34
I need output like below,... (8 Replies)
Hi,
I have a large number of files which are written as csv (comma-separated values).
Does anyone know of simple sed/awk command do achieve this?
Thanks!
---------- Post updated at 10:59 AM ---------- Previous update was at 10:54 AM ----------
Guess I asked this too soon. Found the... (0 Replies)
Hi,
I am having the file with server names & its corresponding process, i need your help how to convert into comma separated output between server & app
#cat apps.txt
Server1
oracle
was
Server2
http
webadmin
Server3
tsm
db2
My requirement is like below.
Server1,oracle/was... (5 Replies)
Hi Experts,
Please support
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
can anyone help me!!!! How to I parse the CSV file
file name : abc.csv (csv file) The above file containing data like
abv,sfs,,hju,',',jkk wff,fst,,rgr,',',rgr ere,edf,erg,',',rgr,rgr I have a requirement like i have to extract different field and assign them into different... (4 Replies)
Discussion started by: J.Jena
4 Replies
LEARN ABOUT SUSE
iswdigit
ISWDIGIT(3) Linux Programmer's Manual ISWDIGIT(3)NAME
iswdigit - test for decimal digit wide character
SYNOPSIS
#include <wctype.h>
int iswdigit(wint_t wc);
DESCRIPTION
The iswdigit() function is the wide-character equivalent of the isdigit(3) function. It tests whether wc is a wide character belonging to
the wide-character class "digit".
The wide-character class "digit" is a subclass of the wide-character class "xdigit", 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 "digit" is disjoint from the wide-character class "cntrl".
Being a subclass of the wide-character class "graph", the wide-character class "digit" 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 "digit" is disjoint from the wide-character class "punct".
The wide-character class "digit" is disjoint from the wide-character class "alpha" and therefore also disjoint from its subclasses "lower",
"upper".
The wide-character class "digit" always contains exactly the digits '0' to '9'.
RETURN VALUE
The iswdigit() function returns nonzero if wc is a wide character belonging to the wide-character class "digit". Otherwise it returns
zero.
CONFORMING TO
C99.
NOTES
The behavior of iswdigit() depends on the LC_CTYPE category of the current locale.
SEE ALSO isdigit(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 1999-07-25 ISWDIGIT(3)