Hi,
I have files with all its characters in lower cases. I need to change them to "proper case" (starting char to be come Upper case). How can I? Pls suggest.
for e.g. xyz.txt should become Xyz.txt
TIA
Prvn (7 Replies)
Hi,
I need a shell script which changes a bunch of files in a particular directory from lowercase to UPPERCASE.
I am not very familiar with shell scripts so a detailed explanation would be greatly appreciated!!!!
Thanks ini advance!
:) (7 Replies)
Hi,
i am very new to UNIX, i am trying to loop thru the files in a directory.
I got the filenames into a variable using
$files=`ls`
Here $files will contain
<filename1> <filename2> <filename3>
I want to get one filename at a time and append it to some some text.
forexample, ... (1 Reply)
hi all,
I have a requirement where in i have to read all the filenames based on a pattern from a directory and concatenate all these file names and write it to another file.
i am using the following code to do this
var1=''
for filename in $_DIR/${FILE_NAME}*
do
if
if
then... (7 Replies)
I have many files similar to this one: AC41_AC85_86_AC128_129_MC171_173_SF_207_FMV.pdf.
I want a directory named AC41 and to put the file AC41_AC85_86_AC128_129_MC171_173_SF_207_FMV.pdf into the directory. Next, a directory named AC85 and put the file into it. Also, continue to cycle through... (1 Reply)
Hi I have abc_ahb_one.v
abc_ahb_two.v
abc_ahb_three.v
........l
like this
-----upto
abc_ahb_ninety.v in some directory.
I need to change those file names to like below.
... (5 Replies)
Hallo!
I have generated lots of data file which all having this format:
sp*t1overt2*.txt
Now I want to change them in this way:
sp*t2overt1*.txt
The rest of the file names stay unchanged. I know this is kind of routine action in sed or awk, but dont know how! I tried this command:
... (6 Replies)
Hi, all:
I'd love to use shell script to change all filenames under different folders once for all:
I've got over 100 folders, in each of them, there is a file named "a.ppm". I wanna change all these "a.ppm" to "b.ppm", and still . Visually, the directory structure looks like:
and hope... (1 Reply)
I have a filename with a bunch of periods that I want to replace with underscores, but I don't want to change the extension.
Ex: I want
file.test1.f-1.fig.eps
to be
file_test1_f-1_fig.eps
Using awk, the following line will replace ALL periods with underscores, but I want to leave the... (2 Replies)
Hello,
I made a mistake in a script and now need to go back and change allot of filenames. I need to change "v4" in filenames to "v3". I was thinking of something like this.
#!/bin/bash
FILELIST=$(ls -f -R *)
for FILE in $FILELIST
do
# create new filename
... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
LEARN ABOUT REDHAT
iswxdigit
ISWXDIGIT(3) Linux Programmer's Manual ISWXDIGIT(3)NAME
iswxdigit - test for hexadecimal digit wide character
SYNOPSIS
#include <wctype.h>
int iswxdigit(wint_t wc);
DESCRIPTION
The iswxdigit function is the wide-character equivalent of the isxdigit function. It tests whether wc is a wide character belonging to the
wide character class "xdigit".
The wide character class "xdigit" is a subclass of the wide character class "alnum", and therefore also a subclass 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 "xdigit" is disjoint from the wide character class "cntrl".
Being a subclass of the wide character class "graph", the wide character class "xdigit" 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 "xdigit" is disjoint from the wide character class "punct".
The wide character class "xdigit" always contains at least the letters 'A' to 'F', 'a' to 'f' and the digits '0' to '9'.
RETURN VALUE
The iswxdigit function returns non-zero if wc is a wide character belonging to the wide character class "xdigit". Otherwise it returns
zero.
CONFORMING TO
ISO/ANSI C, UNIX98
SEE ALSO isxdigit(3), iswctype(3)NOTES
The behaviour of iswxdigit depends on the LC_CTYPE category of the current locale.
GNU 1999-07-25 ISWXDIGIT(3)