The default "locale" for GNU utility programs including "grep" and "sort" has changed to "UTF" which means that mapping one "character" can take more than one character. If your file definitely does not contain "UTF" characters you can massively improve performance by changing your locale back to the basic value of "C".
To check how your system is now, type and check the output from this enquiry:
Hi,
I have tried to make the conditions similar to the below one's, perhaps, I am not sure if there are any more way's to do that????
if ) ]]
echo "Whatever"
fi (5 Replies)
hi everyone,
I need to do the following thing in a case insesitive mode
sed 's/work/job/g' filename
since work could appear in different form as Work WORK WorK wORK,....
I was wondering if i could do a case insensitive search of a word.
thanks in advance,
:) (4 Replies)
I need to remove a pattern say, ABCD whether it is in uppercase or lowercase from a string. How to do it using SED?
for example
ABCDEF should output to EF
abcdEF should also output to EF (2 Replies)
I'd like to print a line if a substring is matched in a case insensitive manner
something like do a case insensitive search for ABCD as a substring:
awk '{ if (substr($1,1,4) == "") print $1 }' infile > outfile
I'm not certain how to make the syntax work???
Thanks (4 Replies)
Hey , i am trying to do a search for the certain books , and im trying to make it case insensitive. what i have come up with so far is this :
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
STUPID:JERLYN:20:40:3
echo -n "Title: "
read Title
echo -n... (3 Replies)
I am using HP-Unix B.11.31.
Question: How to do the case insensitive search using FIND?
Example: I would like list the files with extension of *.SQL & *.sql.
When I try with command find . -type f -name *.sql, it does not lists file with *.SQL. (5 Replies)
Hello ,
Using the below scrip to search a string in a file , by case-insensitively
Please assist on using the toupper() as getting error !.
#!/usr/bin/ksh
set -x
curr_dir=`pwd`
file_ctr=0
printf "\n Reviewing the output file from the directory: %s \n\n" $curr_dir
ls -latr ... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT ULTRIX
uxterm
uxterm(1) General Commands Manual uxterm(1)NAME
uxterm - X terminal emulator for Unicode (UTF-8) environments
SYNOPSIS
uxterm [ xterm-options ]
DESCRIPTION
uxterm is a wrapper around the xterm(1) program that invokes the latter program with the 'UXTerm' X resource class set. All arguments to
uxterm are passed to xterm without processing; the -class and -u8 options should not be specified because they are used by the wrapper.
See the xterm manual page for more information on xterm-options.
The environment's locale settings (see "ENVIRONMENT" below) are used to discern the locale's character set. If no current locale can be
determined, the locale 'en_US' (the English language as used in the territory of the United States) is assumed. The locale(1) utility is
used to determine whether the system supports the selected locale. If it does not, uxterm will exit with an error and report the output of
locale.
Note: uxterm may produce unexpected results if the current locale is set to one in which the UTF-8 character encoding is not supported, or
if fonts using the ISO 10646-1 character set are not available. In the Debian system, the 'xfonts-base' package provides the fonts that
uxterm uses by default. To change the fonts uxterm uses, edit the /etc/X11/app-defaults/UXTerm file.
A similar wrapper, koi8rxterm(1), is available for KOI8-R environments.
ENVIRONMENT
LC_ALL, LC_CTYPE, LANG
The values of these variables are checked, in order, to determine the character set used by the current locale.
AUTHOR
Thomas Dickey
SEE ALSO locale(1), locale(7), koi8rxterm(1), xterm(1)Debian Project 2004-12-19 uxterm(1)