12-19-2008
This is wha I expected..Awesome...
Thanks in Million boss...
Similarly for Additional text o/p , can i get the value i.e after equal to sign only...
Additional Text = "NeType: BSC6000| NeLocation: | vendor: | neName: SVHBS150| alarmName: FUEL LEVEL
LOW| alarmLocation: Site No.=1188,Board Type=70,Board No.=0,PassNo=255,SubLink
No.=255,CellNo=65535,Site Type=16,RackNo=255,BoxNo=255,SlotNo=255| appendInfo:
MOI=DC=www.huawei.com , SubNetwork=1 , ManagedElement=7 , BssFunction=0 ,
BtsSiteMgr=1188
NotificationId=4900
SpecificProblem=6448
<ALM_ID>580757<ALM_ID>"This is what o/p of addn. text is..
Now i need to get only this value:"NeType: BSC6000| NeLocation: | vendor: | neName: SVHBS150| alarmName: FUEL LEVEL
LOW| alarmLocation: Site No.=1188,Board Type=70,Board No.=0,PassNo=255,SubLink
No.=255,CellNo=65535,Site Type=16,RackNo=255,BoxNo=255,SlotNo=255| appendInfo:
MOI=DC=www.huawei.com , SubNetwork=1 , ManagedElement=7 , BssFunction=0 ,
BtsSiteMgr=1188
NotificationId=4900
SpecificProblem=6448
<ALM_ID>580757<ALM_ID>"
Thanks,
Llb..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to samba.
I guess what... (1 Reply)
Discussion started by: dpalmer
1 Replies
2. Linux
Could anyone help i have a question that i have a problem with for my home work it is,
How do i change file permissions in a command line enviromet
thanx (1 Reply)
Discussion started by: Cube3k
1 Replies
3. Programming
Hi to all,
I need in Microsoft C++ to IDENTIFY unix files
which are LINKS.
I use CFTPFILEFIND class.
Thanks
:-)
.:rolleyes: (0 Replies)
Discussion started by: mizrachi
0 Replies
4. Shell Programming and Scripting
I have an xml file.I want to change the value of some tag:
<WASConfig version='1.1'>
<JavaVirtualMachine>
<scope>
<server>
<hostNode>myAsNode</hostNode>
<name>myserver</name>
</server>
</scope>
<Settings>
<Setting>
... (5 Replies)
Discussion started by: javaholics
5 Replies
5. Shell Programming and Scripting
Hi,
I'm working on a script which has to copy multiple files from one server to another server. The list of files that are to be copied is present in a file say input.txt.
vi input.txt
abc.c
welcome.c
new.c
welcome1.c
for ftp'ing a single file say 'new.c' the following code... (2 Replies)
Discussion started by: i.srini89
2 Replies
6. Shell Programming and Scripting
I need to install a bin file in UNIX which requires user interaction for giving some information like user id , path, sid etc. All these information is stored in a properties file in the same location.
So if i give ./file.bin -f propfile.properties will it install the file taking all the... (1 Reply)
Discussion started by: coolmohere
1 Replies
7. Red Hat
Hi Linux Experts,
I am using RHEL 6.4, on checking I identified some files ends with the file attribute like dot (.) at the end. Whereas, I checked with the same level of other servers and I don't identify dot(.) at the end of file attribute. Why is it so? is there any meaning for it.
... (3 Replies)
Discussion started by: gsiva
3 Replies
8. UNIX for Dummies Questions & Answers
hi,
i am having a file which contains the below content, i need to take the word count of if and print the file name also
inputfile.txt
file_name1.txt,type_name1.txt
file_name2.txt,type_name2.txt
i would need the word count of the files like this
if file_name*.txt
then
wc -l... (10 Replies)
Discussion started by: rohit_shinez
10 Replies
9. Shell Programming and Scripting
Hi,
Below is my requirement
File1:
svasjsdhvassdvasdhhgvasddhvasdhasdjhvasdjsahvasdjvdasjdvvsadjhv
vdjvsdjasvdasdjbasdjbasdjhasbdasjhdbjheasbdasjdsajhbjasbjasbhddjb
svfsdhgvfdshgvfsdhfvsdadhfvsajhvasjdhvsajhdvsadjvhasjhdvjhsadjahs
File2:
sdh
hgv
I need a command such that... (8 Replies)
Discussion started by: imrandec85
8 Replies
10. Shell Programming and Scripting
Hi,
I am new to shell scripting and got a task to complete.
Task is : we have a log file where in i need to traverse through the whole file to check the string "Person Type missing in message" and after that i need to get EMPLID=xxxxxx from the file and print details in a different file.
... (1 Reply)
Discussion started by: suren424
1 Replies
LEARN ABOUT OPENSOLARIS
mlib_imagecolorhsl2rgb
mlib_ImageColorHSL2RGB(3MLIB) mediaLib Library Functions mlib_ImageColorHSL2RGB(3MLIB)
NAME
mlib_ImageColorHSL2RGB - HSL to RGB color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageColorHSL2RGB(mlib_image *dst, const mlib_image *src);
DESCRIPTION
The mlib_ImageColorHSL2RGB() function performs a conversion from hue/saturation/lightness to red/green/blue. The source and destination
images must be three-channel images.
It uses the following equations:
L' = L if L <= 1/2
L' = 1 - L if L > 1/2
V = L + S*L'
P = L - S*L'
Q = L + S*L'*(1 - 2*fraction(H*6))
T = L - S*L'*(1 - 2*fraction(H*6))
R, G, B = V, T, P if 0 <= H < 1/6
R, G, B = Q, V, P if 1/6 <= H < 2/6
R, G, B = P, V, T if 2/6 <= H < 3/6
R, G, B = P, Q, V if 3/6 <= H < 4/6
R, G, B = T, P, V if 4/6 <= H < 5/6
R, G, B = V, P, Q if 5/6 <= H < 1
where 0 <= H < 1 and 0 <= S, L, L', V, P, Q, T, R, G, B <= 1.
Assuming a pixel in the source image is (h, s, l) and its corresponding pixel in the destination image is (r, g, b), then for MLIB_BYTE
images, the following applies:
H = h/256
S = s/255
L = l/255
r = R*255
g = G*255
b = B*255
for MLIB_SHORT images, the following applies:
H = (h + 32768)/65536
S = (s + 32768)/65535
L = (l + 32768)/65535
r = R*65535 - 32768
g = G*65535 - 32768
b = B*65535 - 32768
for MLIB_USHORT images, the following applies:
H = h/65536
S = s/65535
L = l/65535
r = R*65535
g = G*65535
b = B*65535
and for MLIB_INT images, the following applies:
H = (h + 2147483648)/4294967296
S = (s + 2147483648)/4294967295
L = (l + 2147483648)/4294967295
r = R*4294967295 - 2147483648
g = G*4294967295 - 2147483648
b = B*4294967295 - 2147483648
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_ImageColorHSL2RGB_Fp(3MLIB), mlib_ImageColorRGB2HSL(3MLIB), mlib_ImageColorRGB2HSL_Fp(3MLIB), attributes(5)
SunOS 5.11 12 Sep 2007 mlib_ImageColorHSL2RGB(3MLIB)