Search Results

Search: Posts Made By: shoponek
11,681
Posted By shoponek
agn! It works like a magic :) . Thanks a bunch!
agn! It works like a magic :) . Thanks a bunch!
11,681
Posted By shoponek
Thanks again Padow and funksen. The problem is...
Thanks again Padow and funksen. The problem is that a record contains multiple paragraphs and empty lines. I cannot figure out how to use grep -p to get all the paragraphs in a record.
11,681
Posted By shoponek
Thanks Padow, but that gets only the line that...
Thanks Padow, but that gets only the line that contains the "timestamp". I want the entire record to be extracted that contains the given "timestamp". Here is an example, if the file contains this :...
11,681
Posted By shoponek
Thanks funksen. The code you wrote does not...
Thanks funksen. The code you wrote does not extract the entire record. If there is a match in timestamp (i.e. 2009-01-14) then the entire record including the words "New Record" should be copied. In...
11,681
Posted By shoponek
Bash script for searching a string
Hi,
I have a file that contains thousands of records. Each record starts with "New Record". I need to search this file based on a given value of "timestamp" and write all the records that match...
Showing results 1 to 5 of 5

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