10-27-2011
Quote:
Originally Posted by
Siva SQL
I get error find: bad option -iname, if i use -iname.
$ find . -type f -iname "*.sql"
find: bad option -iname
I think this option is not available in HP-UX. It is OK in Linux.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: ROOZ
4 Replies
2. Shell Programming and Scripting
Hi All,
How we can perform case-insensitive search with AWK.:rolleyes:
regards,
Sam (11 Replies)
Discussion started by: sam25
11 Replies
3. Shell Programming and Scripting
Hi,
I need an elegant solotion in php. I need to compare 2 arrays (array1 & array2), to find all instances of array 2 which is not in array1.
I don't want to see any instances of array1 wich is not in array2 (here "the")
Array1: This, is, the, data, of, array1
Array2: this, is, data, Of,... (2 Replies)
Discussion started by: lowmaster
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: gregarion
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
How do I set case insensitive search mode while the file is open with more command ?
(I know -i option which could be used before opening)
thanks
Vilius (2 Replies)
Discussion started by: vilius
2 Replies
6. AIX
Hello,
Linux man command search is case insensitive by default, but not AIX man.
How do I serch case insensitive while using AIX manual pages ?
thanks
Vilius (7 Replies)
Discussion started by: vilius
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a file named "test_file" that has the below content. It has words in upper/lower cases
PRODOPS
prodOPS
ProdOps
PRODops
escalate
Shell
My requirement is to replace all the "prodops" (what ever case it may be) with "productionoperations".
I tried using the "i" option with... (7 Replies)
Discussion started by: sbhuvana20
7 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
What is the command to search a file for a case-insensitive match
1.grep -nc text filename
2.grep -i text filename
3.grep -i filename text
4.grep -nc filename text
5.grep -c text filename
Thanks for your help (1 Reply)
Discussion started by: bobby1015
1 Replies
9. Shell Programming and Scripting
I am trying to find case insensitive file names and then replace that particular file with other name.
if
then
ls | grep -i "update" | xargs -I {} mv {} LineItems.csv
echo "File moved from *update*"
elif
then
ls | grep -i "priority" | xargs -I {} mv {} ... (1 Reply)
Discussion started by: ATWC
1 Replies
10. UNIX for Beginners Questions & Answers
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 REDHAT
osgmlnorm
OSGMLNORM(1) osgmlnorm OSGMLNORM(1)
NAME
osgmlnorm - An SGML System Conforming to International Standard ISO 8879 -- Standard Generalized Markup Language
SYNOPSIS
osgmlnorm [-Cdemnv] [-bbctf] [-ccatalog] [-Ddir...]
[-iname...] [-wwarning...] [sysid...]
DESCRIPTION
osgmlnorm prints on the standard output a normalized document instance for the SGML document contained in the concatenation of the entities
with system identifiers [sysid...].
When the normalized instance is prefixed with the original SGML declaration and prolog, it will have the same ESIS as the original SGML
document, with the following exceptions:
* The output of osgmlnorm does not protect against the recognition of short reference delimiters, so any USEMAP declarations must be
removed from the DTD.
* The normalized instance will use the reference delimiters, even if the original instance did not.
* If marked sections are included in the output using the -m option, the reference reserved names will be used for the status keywords even
if the original instance did not.
* Any ESIS information relating to the SGML LINK feature will be lost.
The normalized instance will not use any markup minimization features except that:
* Any attributes that were not specified in the original instance will not be included in the normalized instance. (Current attributes will
be included.)
* If the declared value of an attribute was a name token group, and a value was specified that was the same as the name of the attribute,
then the attribute name and value indicator will be omitted. For example, with HTML osgmlnorm would output <DL COMPACT> rather than <DL
COMPACT="COMPACT">
The following options are available:
-bbctf Use the BCTF with name bctf for output.
-cfile Use the catalog entry file file.
-C This has the same effect as in onsgmls(1).
-d Output a document type declaration with the same external identifier as the input document, and with no internal declaration subset.
No check is performed that the document instance is valid with respect to this DTD.
-Ddirectory
Search directory for files specified in system identifiers.
This has the same effect as in onsgmls(1).
-e Describe open entities in error messages.
-iname This has the same effect as in onsgmls(1).
-m Output any marked sections that were in the input document instance.
-n Output any comments that were in the input document instance.
-r Raw output. Don't perform any conversion on RSs and REs when printing the entity. The entity would typically have the storage man-
ager attribute records=asis.
-v Print the version number.
-wtype Control warnings and errors according to type. This has the same effect as in onsgmls(1).
SEE ALSO
onsgmls(1)
AUTHORS
James Clark, Ian Castle <ian.castle@looksystems.co.uk>.
OpenJade January 2002 OSGMLNORM(1)