Search Results

Search: Posts Made By: siramitsharma
Forum: Solaris 02-12-2016
7,045
Posted By siramitsharma
Yes the files is different in terms of the data...
Yes the files is different in terms of the data which is there, else there is no difference. Following are my queries:
1. Does data in one as ascending and in other descending gives different...
Forum: Solaris 02-11-2016
7,045
Posted By siramitsharma
Hi Hick, Yes diff says both files are same....
Hi Hick,
Yes diff says both files are same. That is the reason not getting to understand why checksum is different.

Any ideas
Forum: Solaris 02-11-2016
7,045
Posted By siramitsharma
Checksum different For Same file Created By Two processes
I have one utility in VB which generates attached file(circle.14.mdn_range.properties_VB) & i have created other file(circle.14.mdn_range.properties_UTLFILE) having same contents with UTL_FILE(Oracle...
2,512
Posted By siramitsharma
Thanks Ravinder & Don.:b: Great to have you...
Thanks Ravinder & Don.:b:

Great to have you in this forum.:b:
2,512
Posted By siramitsharma
Thanks Ravinder, i have done some modifications...
Thanks Ravinder, i have done some modifications and i am able to achieve what i wanted. Btw i have single query for below code logic, can you please throw some light on this.


if(A[1]==0)
{
e=1...
2,512
Posted By siramitsharma
Thanks ravinder, but i need to store the same in...
Thanks ravinder, but i need to store the same in array which is being mentioned in my bash code & not explicitly printing like the one you mentioned,i.e, if i access A[0] then i should get value 0,...
2,512
Posted By siramitsharma
Awk: Storing string in array(triangular form)
I have a string like below. Now i want to split this string like below and put the value in the array using awk. I am able to do it using bash but getting no clue for doing it in awk

O/P

A[0]=0...
1,957
Posted By siramitsharma
THanks Don
THanks Don
1,957
Posted By siramitsharma
Hi Don, Please find below the answers to the...
Hi Don,
Please find below the answers to the queries raised

SPLNOMAXLEN[] is for checking the maximum length of the input string,i.e, from MDN.txt & i am not trying for exact match for one of...
1,957
Posted By siramitsharma
Efficient way to search array in text file by awk
I have one array SPLNO with approx 10k numbers.Now i want to search the subscriber number from MDN.TXT file (containing approx 1.5 lac record)from the array.if subscriber number found in array it...
Forum: Web Development 09-29-2015
6,569
Posted By siramitsharma
Error on executing soap request using Curl command
hi,
i have curl command to POST a soap request to web service. I have a file (query.xml) which has all the soap message attached to it I just don't seem to be able to properly post it.

curl...
15,872
Posted By siramitsharma
Thanks Wisecracker & RudiC for the help &...
Thanks Wisecracker & RudiC for the help & apologies for the info not shared earlier. Thought that i would be able to do it.
Anyways, can you please suggest some other alternative looking into my...
15,872
Posted By siramitsharma
Ok..let me iterate whole things I have...
Ok..let me iterate whole things

I have changed the binary file to hex using the following code.



hexdump -v -e '1/1 "%02x "' DDI15.09.02.C|sed 's/\(00 00\) \(84\)/\1\n\2/g'...
15,872
Posted By siramitsharma
Hi RudiC, Trying to write the required...
Hi RudiC,
Trying to write the required output(sequence no & timestamp) from hex converted file(DDI15.09.02.C_HEX) from original binary file(DDI15.09.02.C) attached earlier.
15,872
Posted By siramitsharma
Thanks Rudi & wisecracker i have used the...
Thanks Rudi & wisecracker i have used the following code


hexdump -v -e '1/1 "%02x "' DDI15.09.02.C|sed 's/\(00 00\) \(84\)/\1\n\2/g' >DDI15.09.02.C_HEX


Post this i have a problem writing...
15,872
Posted By siramitsharma
Thanks wisecracker & RudiC..
Thanks wisecracker & RudiC..
15,872
Posted By siramitsharma
PFA the zip file again.
PFA the zip file again.
15,872
Posted By siramitsharma
Convert Binary File To Hex In Linux
dHi,
I have the attached file(actual file can be extracted post unzipping it) & i am trying to use the following code for coversion to hex format.
Starting hex value is 84 which is start of the...
3,370
Posted By siramitsharma
Yup, changed in the code but didnt updated in the...
Yup, changed in the code but didnt updated in the code shared by you.


#!/bin/ksh
awk -F'|' '
FNR == 1 {
for(filecounter = 1; filecounter <= ARGC; filecounter++)
if(FILENAME ==...
3,370
Posted By siramitsharma
Thanks Don. Trying to run the script using the...
Thanks Don. Trying to run the script using the following files in the code shared

file1, file2, file3 is empty,i.e, it is blank file & file4 has following content
...
3,370
Posted By siramitsharma
Check file from multiple files is empty using awk
I am passing multiple files in awk & since one of the file is empty(say file3) so the same gets skipped & logic goes for toss. Need suggestion/help in checking and putting additional checks for the...
10,585
Posted By siramitsharma
Thanks RudiC for the comments. But we cannot set...
Thanks RudiC for the comments. But we cannot set the expect in function which is my exact requirement. Can you please throw some light on this for the way out of using it in function?
10,585
Posted By siramitsharma
Tries the same but still getting prompted for...
Tries the same but still getting prompted for password. Please help
Please just post replies once. Two duplicates to this post have been removed

---------- Post updated at 05:03 PM ----------...
10,585
Posted By siramitsharma
Unable to do SFTP using expect
Hi,
I am trying to sftp using expect, but not getting through as it prompt for password is coming

Following is the code


#/usr/bin/expect > output.log
sftp medcdr@10.130.254.50
expect...
2,269
Posted By siramitsharma
Still the same awk '{ if(...
Still the same


awk '{
if( substr($1,26,2)=="02" && substr($1,184,14)=="MTSCC_VALFIRST")
{
array1[substr($1,28,14)","substr($1,126,5)]++
array2[substr($1,126,5)]++...
Showing results 1 to 25 of 100

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