5,759 reputation
1239
bio website toggle.be/~ta
location Denmark
age 37
visits member for 2 years, 3 months
seen Jul 23 at 19:45

I'm trained in computer science engineering, but have a wide range of other interests as well.


Nov
8
revised Is it possible to get a hardcopy in Tmux?
More consistent and clear example and text
Oct
17
comment With grep, how can I match a pattern and invert match another pattern?
@RahulPatil: I see what you mean now, Option 1 assumes that a --\n delimiter is between each matched group, which is not there if the groups are adjacent to each other. How adjacent groups should be handled is task-specific, so this is not necessarily wrong. Option 2 does not depend on the separator and is not affected.
Oct
17
comment With grep, how can I match a pattern and invert match another pattern?
@RahulPatil: could you rephrase or add more detail to your question? I don't understand what you are asking.
Oct
17
revised With grep, how can I match a pattern and invert match another pattern?
Some versions of grep support multi-line input
Oct
17
answered With grep, how can I match a pattern and invert match another pattern?
Oct
17
revised Align text to center with padding on both sides
Added example that supports variable padding character
Oct
15
revised Align text to center with padding on both sides
deleted 54 characters in body
Oct
15
comment Align text to center with padding on both sides
@Avidanborisov: nice solution, feel free to post it as an answer, or, if you prefer, add it to this answer
Oct
14
awarded  Nice Answer
Oct
13
awarded  awk
Oct
12
revised Align text to center with padding on both sides
Added output and some comments
Oct
12
revised Align text to center with padding on both sides
added 214 characters in body
Oct
12
answered Align text to center with padding on both sides
Oct
8
answered Can grep output only specified groupings that match?
Aug
23
awarded  Excavator
Aug
23
revised Get a list of directory names with find
Cleaner text
Aug
23
awarded  Sportsmanship
Aug
21
revised Looking for lines which is in one file but not in other using Unix and Awk
Added explanation
Aug
21
answered Looking for lines which is in one file but not in other using Unix and Awk
Aug
20
comment How to grep for pipe |
@StephaneChazelas: thank you for pointing this out, I was not aware of it. I corrected the text.