Your right durden, It could be nice to learn it for me.
By the moment, I changed a little bit the script considering a file of 40 columns an separated by pipe "|", but when I see the output many columns have their content disordered, looks like have been moved to other column.
If user chosen to tolower then it should convert file name to lower or vice versa. when file names converted it should put into appropriate subdirectories.
e.g when files converted it then seperate them out with file etension where it will seperate them out . such as file.pdf, phone.doc both... (1 Reply)
Hi I have two questions.
1. how to convert "EverythingIsFine" to "Everything Is Fine" in a txt file.
2. how to convert everything to upper case letter and reverse, I hope there is a general purpose script for this. (1 Reply)
Hi, I have a variable $Ctrcd which contains country names in upper case and i want to convert them into lower case. I have tried so many solutions from already existing threads but couldn't get the correct one.
Can anybody help me with this.....
Thanks a lot.. (2 Replies)
I have a package to install and the installation script which does it . The files/directories names in the script are all lower case but the actual package has everything in upper case - file names, directories . I don't want to rename directories and files in the package - it has a lot of them . ... (2 Replies)
Hi All
I have a script which extracts values from a Database (A persons name) and puts it into a variable in my script IE: $NAME
However the Value in the DB is all in uppercase and contains the users first name and last name
EG:
> echo $NAME
GRAHAM BOYLE
>
What I need is only the... (7 Replies)
There is a script where we pass the parameter in lower case:
say: . ./scriptName pArameter
#!/bin/ksh
echo "`date` Entering $0 Reloading the $1 table "
mname1=$1
(code to login MYSQL Database)
Truncate table $mname1;
exit
!
Since now there is a limitaion of MYSQL that it accept... (5 Replies)
The title pretty much defines the problem. I have text files that are all in caps. I would like to convert them to lowercase, but have the first letter of the first word in each sentence in uppercase.
I already have SED on the server for fixing / tweaking text files, but I'm open to other... (5 Replies)
Hi,
im able to search for string in a file (ex: grep -w "$a" input.txt). but i have to search for the uppercase of a string in a file where upper case of the file content matches something like below.
where upper("$a")== converted to upper case string in (input.txt)
can someone please provide... (5 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)
Discussion started by: georgi58
7 Replies
LEARN ABOUT MOJAVE
tolower
TOLOWER(3) BSD Library Functions Manual TOLOWER(3)NAME
tolower, tolower_l -- upper case to lower case letter conversion
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <ctype.h>
int
tolower(int c);
#include <ctype.h>
#include <xlocale.h>
int
tolower_l(int c, locale_t loc);
DESCRIPTION
The tolower() function converts an upper-case letter to the corresponding lower-case letter. The argument must be representable as an
unsigned char or the value of EOF.
Although the tolower() function uses the current locale, the tolower_l() function may be passed a locale directly. See xlocale(3) for more
information.
RETURN VALUES
If the argument is an upper-case letter, the tolower() function returns the corresponding lower-case letter if there is one; otherwise, the
argument is returned unchanged.
COMPATIBILITY
The 4.4BSD extension of accepting arguments outside of the range of the unsigned char type in locales with large character sets is considered
obsolete and may not be supported in future releases. The towlower() function should be used instead.
SEE ALSO ctype(3), islower(3), towlower(3), xlocale(3)STANDARDS
The tolower() function conforms to ISO/IEC 9899:1990 (``ISO C90'').
BSD July 17, 2005 BSD