Search Results

Search: Posts Made By: Llb
8,604
Posted By Llb
Need in getting a dos cmd executed..
In dos cmd prompt if i run as
echo %T_Client_HOME% it wil giv ethe o/p ... Similarly i want to implement this in vbscript so that it should give the same o/p..
any idea...
11,373
Posted By Llb
I need a help for similar kind...Very urgent
command=`grep "Managed Object" ${INPUT_FILE} | awk -F= '{print $NF}'|awk '{print $1}'`
echo $command

if [ "$command" = "HUAWEI_M2000_SYSTEM" ]
some times the above $command o/p is...
4,043
Posted By Llb
Thanks again...
HI,
Still I didn't try that 160char option...
Meanwhile i had some simple issue which is taking more time...
if [ "$alarm_name" = "RECTIFIER MODULE FAIL" -o "$alarm_name" = "MAINS FAIL" -o...
4,043
Posted By Llb
How do I trucate to 160 characters???
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...
4,043
Posted By Llb
This is wha I expected..Awesome... ...
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:...
4,043
Posted By Llb
Thanks a lot...It is really working fine..Also in...
Thanks a lot...It is really working fine..Also in this case i need the value after =....
Also Any suggestion for the timing format to be changed...
4,043
Posted By Llb
This is HPUX system
This is HPUX system
4,043
Posted By Llb
Thsi is my client's system where i can't do...
Thsi is my client's system where i can't do any modification..
9,059
Posted By Llb
Line number iwll not be available..
Hi I want to replace the string Additional Text to rawText in my file...But not sure which linenum it will come everytime....
But it is one tim eoccurence in the file..I such cases how to replace...
4,043
Posted By Llb
It didn't work..but thanks
Hi,
I tried but it is showing -d is not valid option...and hence it is not working..
Can u give any other solution..
Thanks,
Llb
4,043
Posted By Llb
Thanks for the reply...
BUt it didn't work well..
Let us complete one by one..
My input file format is
Event Time = Thu, Nov 6, 2008 08:41:56 AM
Output of the above should be...
4,043
Posted By Llb
Taking a particular attribute's value in a file...
HI,
Iam new to scripting..I need some guidance for invoking the following logic..
My input file contains

Event Time = Thu, Nov 6, 2008 08:41:56 AM
Probable Cause =...
2,635
Posted By Llb
Want to create 3 different new directories under the same path
Hi,
Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO.
I have tried the following script...But only...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy