Search Results

Search: Posts Made By: theclem35
4,604
Posted By theclem35
Hello, is it possible to do with sed ? Because it...
Hello, is it possible to do with sed ? Because it comes from a stream (tshark) and I have already a pipe with some sed cmds. If I do another pipe, it will create a buffer.

---------- Post updated...
4,604
Posted By theclem35
Hi, Yes it is, I cannot paste it between...
Hi,

Yes it is, I cannot paste it between code tags on the forum.
4,604
Posted By theclem35
Hi, It doesn't work. It give me pattern1 ...
Hi,

It doesn't work. It give me pattern1 pattern2 pattern3 Pattern4-which-contains-HELLO>-string-and-other-stuff-and-second-HELLO-and-third-HELLO <

Is there a way to specify...
4,604
Posted By theclem35
Delete string between 3rd tab and first pattern with SED
Hello,

I have this sentence :Pattern1 Pattern2 Pattern3 Pattern4-which-contains-HELLO-string-and-other-stuff-and-second-HELLO-and-third-HELLO
I want to delete everything...
19,056
Posted By theclem35
Thank you so much :)
Thank you so much :)
19,056
Posted By theclem35
Thanks a lot! How can I add a string after each...
Thanks a lot!
How can I add a string after each block ?
I tried sed -ne '/debut_sect/,/fin_sect/{/debut_sect\|fin_sect/d;p}' -ne '$a\\n---- END OF BLOCK ------\n' infile
But it add ---- END OF...
19,056
Posted By theclem35
Print lines between two strings multiple occurencies (with sed, awk, or grep)
Hello,

I can extract lines in a file, between two strings but only one time.
If there are multiple occurencies, my command show only one block.

Example, monfichier.txt contains :
debut_sect...
Showing results 1 to 7 of 7

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