Search Results

Search: Posts Made By: TestTomas
25,739
Posted By TestTomas
It did the trick, thank you very, very much :) ...
It did the trick, thank you very, very much :)

Edit:
Actually the pure sed-version 'fixed' the lines with the matching pattern but also printed out all non matching lines while the version with...
25,739
Posted By TestTomas
sed: Find start of pattern and extract text to end of line, including the pattern
This is my first post, please be nice. I have tried to google and read different tutorials.

The task at hand is:

Input file input.txt (example)

abc123defhij-E-1234jslo
456ujs-W-abXjklp
...
Showing results 1 to 2 of 2

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