Hi,
I have list of directory paths in a variable and i want to delete those dirs and if dir does not exist then search that string and get the correct path from xml file after that delete the correct directory. i tried to use grep and it prints the entire line from the search.once i get the entire... (7 Replies)
My source is on each line
98.194.245.255 - - "GET /disp0201.php?poc=4060&roc=1&ps=R&ooc=13&mjv=6&mov=5&rel=5&bod=155&oxi=2&omj=5&ozn=1&dav=20&cd=&daz=&drc=&mo=&sid=&lang=EN&loc=JPN HTTP/1.1" 302 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR... (5 Replies)
Hi, i am new to unix shell scripting and i need a script which would search for a particular word in all the files present in a directory. The output should have the word and file path name. For example: "word" "path name".
Thanks for the reply in adv,:) (3 Replies)
Hi Folks
Can you please help me to grep a word from below test file
Below is the file looks like
ABCD Test:3 ZZZZYYYZZ
ABCD TEST:38 XXXYYYZZZ
I need below output
echo $A=21455
echo $B=3
and for second line
echo $A=324494
echo $B=38
I will use While read line for each line.. i... (7 Replies)
Hi Gurus
I am new to this forum.. I am using HP Unix OS.
I have one single string in input file as shown below
Abc123 | cde | fgh | ghik| lmno | Abc456 |one |two |three | four | Abc789 | five | Six | seven | eight | Abc098 | ........
I want to achive the result in a output file as shown... (3 Replies)
Hi
I have requirement to search string starting with specific characters and print whole matching word in that string.
example
mystr="ATTRIBUTE NAME="Event Name" VALUE="Execute""
I want to search by passing "NAME=" and result should be NAME="Event Name".
i am using below command but... (3 Replies)
Hi,
I have the logs :
cat logsx.txt
744906,{"reportingGroups":,"version":"2.0"}
678874,{"reportingGroups":,"version":"2.0"}
193571,{"reportingGroups":,"version":"2.0"}
811537,{"reportingGroups":,"version":"2.0"}
772024,{"reportingGroups":,"version":"2.0"}... (5 Replies)
I need to fetch particular string from log file based on grep condition match.
Actual requirement is need to print the next word from the same line based on grep string condtion match.
File :Java.lanag.xyz......File copied completed : abc.txt
Ouput :abc.txt
I have used below... (5 Replies)
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
LEARN ABOUT OSF1
dxmgetlocalestring
DXmGetLocaleString(3X)DXmGetLocaleString(3X)NAME
DXmGetLocaleString - Provides locale-sensitive Motif compound string version of Toolkit ASCII default values.
SYNOPSIS
XmString DXmGetLocaleString(
I18nContext context,
char *string,
I18nWordType word_type );
PARAMETERS
Reserved for future use. (Null value passed.) Null-terminated string specifying the ASCII string value whose locale sensitive version is
to be retrieved (for example, the string "OK"). Specifies the type (part of speech) of a word in the string, as indicated by one of the
following values:
------------------------------------------
Value Description
------------------------------------------
I18NADJECTIVE The word is an adjective.
I18NADVERB The word is an adverb.
I18NNOUN The word is a noun.
I18NVERB The word is a verb.
------------------------------------------
DESCRIPTION
The DXmGetLocaleString routine provides a locale-sensitive Motif compound string version of Toolkit ASCII default values, such as "OK" or
"Cancel". You can specify the part of speech (adjective, adverb, verb, or noun) associated with each word in the string.
RETURN VALUES
A pointer to the Motif compound string containing the value.
DXmGetLocaleString(3X)