Search Results

Search: Posts Made By: danish0909
927
Posted By danish0909
Thanks for replying.. if you see below is an...
Thanks for replying..

if you see below is an example of a record which is available

For the same I have taken the 1st column and 3rd column from the 1st file and grepped it from the 2nd file.
...
927
Posted By danish0909
How to search 2 separate patterns from a 2nd file.?
Hi Guys,

Need your urgent support please. I have a file with 3 separate strings separated by a comma and 2nd file which has a sentence where I can find these 3 strings. I need to find sentences...
1,976
Posted By danish0909
1. List is a file which contains sequence...
1. List is a file which contains sequence numbers. I extract it form a DB.

(Actually we have hundreds/thousands of files coming in, we record this information in a DB. This List is extracted from...
1,976
Posted By danish0909
Find missing sequence
Hi,


I need to find out the missing sequence from a list. However the issue is there is not a fixed start and end, it depends on the generation of files.

For eg, it might start with 4000 and...
1,922
Posted By danish0909
Thanks for the reply Jim, Your code works...
Thanks for the reply Jim,

Your code works absolutely fine but mine doesn't.

Can you tell me where is the mistake. I am not able to figure out.

There is no file danish.lis in the directory...
1,922
Posted By danish0909
Compare the output of find command
Hi All,


I am trying to run find command in a script to list out certain files based on a patter. However, when there is no file in the output, the script should exit.

Tried a couple of...
1,358
Posted By danish0909
Dear Rudic, Every sample fixed pattern...
Dear Rudic,


Every sample fixed pattern like (CCRC_28778426), there are hundreds of such fixed patters, has a OCGWRequest paragraph and a OCGWResponse paragraph in a log file. Using the fixed...
1,358
Posted By danish0909
Searching for a pattern and extracting records related to that pattern
Hi there,


Looking forward to your advice for the below:

I have a file which contains 2 paragraphs related to a particular pattern. I have to search for those paragraphs from a log file and...
3,515
Posted By danish0909
Thanks alister and PikK45. Especially...
Thanks alister and PikK45.

Especially PikK45. Thank you very much for helping me all along. Please you have to let me know why running the while loop did not cause the memory error

----------...
3,515
Posted By danish0909
Thanks. At least that takes me forward. Maybe I...
Thanks. At least that takes me forward. Maybe I can split the file and run the find command in parts
3,515
Posted By danish0909
Not working. Seems like its a ulimit issue :( I...
Not working. Seems like its a ulimit issue :( I am on a HP UX
3,515
Posted By danish0909
This is a production box and I can't change any...
This is a production box and I can't change any values unfortunately.
3,515
Posted By danish0909
Same problem :( ...
Same problem :(

/comptel4/elink/backup1/output/vas/NG0> ./ms.sh
./ms.sh: xrealloc: subst.c:5173: cannot allocate 268435456 bytes (536936448 bytes allocated)...
3,515
Posted By danish0909
I have run it again but I am getting the same...
I have run it again but I am getting the same error. There are subdirectories under it so I have given a patter for it.
/comptel4/elink/backup1/output/vas/NG0> ./ms.sh
./ms.sh: xrealloc:...
3,515
Posted By danish0909
I am on hp ux /comptel/elink> find...
I am on hp ux

/comptel/elink> find /comptel4/elink/backup1/output/vas/NG0/ -name "*.GPX.Z" -exec zgrep -il $i {} \;
/comptel/elink>


/comptel4/elink/backup1/output/vas/NG0> find...
3,515
Posted By danish0909
Thanks for your suggestions PikK45..but is the...
Thanks for your suggestions PikK45..but is the command descending into directories..because I dont see any output..the command returns back to the command prompt
3,515
Posted By danish0909
Search for patterns in thousands of files
Hi All,


I want to search for a certain string in thousands of files and these files are distributed over different directories created daily. For that I created a small script in bash but while...
1,268
Posted By danish0909
Thanks. I looked up on sed and it worked...
Thanks. I looked up on sed and it worked great..thanks again
1,268
Posted By danish0909
Passing variables to an input file
Hi All,


I have to insert 2 values to a text file in specific places. I have been able to extract each variable value via a script but am not able to send these variable values to the text file....
3,297
Posted By danish0909
Thanks a lot..it works great..
Thanks a lot..it works great..
3,297
Posted By danish0909
Dears, I have pasted some sample lines and...
Dears,

I have pasted some sample lines and highlighted the duration in bold:

0136530213AN019604609133GC0549465654 blackberry.net 20130219092609000001272 ...
3,297
Posted By danish0909
[Solved] How to increment and add variable length numbers to a variable in a loop?
Hi All,


I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the...
2,335
Posted By danish0909
ok!, so basically what comes inside the gets...
ok!, so basically what comes inside the
gets printed on the screen. great thanks for letting it out so cleanly. thanks a lot
2,335
Posted By danish0909
thank you thank you thank you..please explain to...
thank you thank you thank you..please explain to me the regular expression..i have been trying to get hold of this since long..but have only managed to bang my head
2,335
Posted By danish0909
now it print out extra characters after the date ...
now it print out extra characters after the date


$ for i in `ls -1 *.jar`;do echo $i|sed -n "s/.*_\([0-9]\{8\}.*\).jar$/\1/p" ;done|more
20120727
20120711
20120711_1
20120712
20120712_1...
Showing results 1 to 25 of 39

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