Search Results

Search: Posts Made By: sandeepk1611
1,477
Posted By sandeepk1611
Thanks Shell_Life, It worked well. I just...
Thanks Shell_Life,

It worked well. I just made a small change to remove the leading | and spaces. So this addition to your script worked well.

sed 's/^[|, ]*\(.*\) [<>][=...
1,477
Posted By sandeepk1611
SED error
Hi,

I am trying to write an SED script to extract some strings from each line of a file and print it into another file.

The sample input looks like this.

AVE_LOC_ADDED <= 1.1429: 0...
4,417
Posted By sandeepk1611
Thanks Radoulov, I will try to check this with...
Thanks Radoulov,
I will try to check this with the data I have.

Sandeep
4,417
Posted By sandeepk1611
The data that I showed in the previous post is...
The data that I showed in the previous post is the output format I have. I need another column to this called "number of bugfixes". To get that number, I have a count.

I also have a list of bugs...
4,417
Posted By sandeepk1611
For the current file I have, the output looks...
For the current file I have, the output looks like this,

Filename Selected Revisions Number of Authors Total Lines Added
DebugElement.java 0
DebugEvent.java 2 ...
4,417
Posted By sandeepk1611
Hi Radoulov, I want to actually increment a...
Hi Radoulov,

I want to actually increment a counter everytime I get a match. The final count value is what I need. So every time I see a number in the commit message, I will compare with the...
4,417
Posted By sandeepk1611
[awk]compare a number in a string with a list
Hi,

I have a program written in awk and I want to extend it to do another task.

My program is a list of CVS log reports of a repository. For each file, I have some fields. One of the fields...
2,359
Posted By sandeepk1611
Windows with cygwin
Windows with cygwin
2,359
Posted By sandeepk1611
Thanks Yinyuemi, I changed the /code/ part of...
Thanks Yinyuemi, I changed the /code/ part of your code to /.java/ and it worked very well.

Bartus11, I tried the second code you sent. It is just printing a single number 204 for the file I...
2,359
Posted By sandeepk1611
Bartus, I tried your solution, but it is...
Bartus,

I tried your solution, but it is giving me the wrong numbers,
I can give you a sample file and the numbers I got with it,
Also, can you tell me what -vRS = -F\n does?

Input I gave...
2,359
Posted By sandeepk1611
count lines in a pattern
Hi,

I had posted few days back and got replies on how to extract patterns from a file.

I had another question. I want to count the number of lines a particular pattern. I thought of...
5,317
Posted By sandeepk1611
Thanks everyone for the replies. I will try out...
Thanks everyone for the replies. I will try out these solutions on the data I have.

@Chubler_XL,

I had a question. Why did you first assign FS="------*" and then again OFS=FS ? Can you...
5,317
Posted By sandeepk1611
[Awk] Extract block of with a particular pattern
Hi,

I have some CVS log files, which are divided into blocks. Each block has many fields of information and I want to extract those blocks with a pattern. Here is the sample input.

RCS file:...
2,329
Posted By sandeepk1611
Thanks rdcwayx and Tyler for the replies. ...
Thanks rdcwayx and Tyler for the replies.

Although I am not very well versed in Awk and perl, I understand the code that you have given. I will work on these and try to get the other things I...
2,329
Posted By sandeepk1611
Working with individual blocks of text using awk
Hi,

I am working with CVS log data and have some data as follows.


RCS file: /cvsroot/eclipse/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java,v
head: 1.14...
Showing results 1 to 15 of 15

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