Search Results

Search: Posts Made By: saurabh kumar
2,262
Posted By saurabh kumar
Yes, the regex is not selective enough. Apologies...
Yes, the regex is not selective enough. Apologies for the miss. I have to add starting with < or > to the above regex.
2,262
Posted By saurabh kumar
Thanks RudyC for the explanation. The pattern...
Thanks RudyC for the explanation. The pattern will be [digit]{1,}[acd][digit]{1,} i.e atleast one digit followed by any one of the characters a,c,d and followed by one or more digits.

Thanks
2,262
Posted By saurabh kumar
Thank you raja and RudiC. These solutions...
Thank you raja and RudiC.

These solutions seems to work for most of the test-cases. Haven't had much experience with awk. Please let me know ,if I understand correctly these solutions

Raja,...
2,262
Posted By saurabh kumar
How to use sed to search a particular pattern in a file backward after a pattern is matched.?
Hi,
I have two files file1.txt and file2.txt. Please see the attachments.

In file2.txt (which actually is a diff output between two versions of file1.txt.), I extract the pattern corresponding to...
Showing results 1 to 4 of 4

 

Featured Tech Videos

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