5,959 reputation
1241
bio website toggle.be/~ta
location Denmark
age 37
visits member for 2 years, 6 months
seen 23 hours ago

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


Jan
29
revised print parent directories full path of find output
edited body
Jan
29
revised print parent directories full path of find output
deleted 2 characters in body
Jan
29
answered print parent directories full path of find output
Dec
9
revised How to cut (select) a field from text line counting from the end?
deleted 14 characters in body
Nov
10
reviewed Approve suggested edit on how to emulate “replace a b b a” with a sed?
Nov
8
comment Is it possible to get a hardcopy in Tmux?
@Moondoggy: The semi-colons should indeed be escaped, thanks.
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?