Reputation
11,069
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
6 43 96
Impact
~871k people reached

51m
comment Log file processing
notepad - how quaint! :) - real text (embedded as code) is better. as we can copy and paste it for testing.
56m
comment How do I find the X window ID under the mouse pointer in bash?
This gives the ID of the active window (wherever that window may be), regardless of whether or not that active window is under the mouse pointer. As per the wording of the question: "... find the X window ID under the mouse pointer ..." (wherever that mouse may be).
1h
answered Log file processing
11h
answered Awk - Print row if number is between column 1 and column 2
1d
revised How can I prepend and append to each member of an array?
added var input (vs literal)
1d
answered How can I prepend and append to each member of an array?
2d
revised Stable sort a file by presence of ordered substrings on each line
added second sort field
2d
revised Stable sort a file by presence of ordered substrings on each line
added 274 characters in body
2d
revised Stable sort a file by presence of ordered substrings on each line
added 274 characters in body
2d
answered Stable sort a file by presence of ordered substrings on each line
2d
comment Can IFS (Internal Field Separator) function as a single seperator for multiple consecutive delim chars?
Good! A simple and effective method - with no need for a bash loop and no need to call a utility app — BTW. As you mentioned "(non-space)", I'd point out, for clarity, that it works fine with any combination of delimiter chars, including space.
2d
accepted Can IFS (Internal Field Separator) function as a single seperator for multiple consecutive delim chars?
2d
revised What does this grep expression mean?
minor tidy-up for clarity
May
21
comment How can I end a here-document that starts with <<\\$fff?
Re your last sentence, "As a result, it is not ...". Your preceding sentence refers to the body of the here document, not the terminator. The terminator - called the delimiter in man bash - is, as per your quote from man bash, "the delimiter is the result of quote removal on word"
May
21
comment How can I end a here-document that starts with <<\\$fff?
typo? - \$file ?
May
21
comment What does this grep expression mean?
Aside from any shell interaction, ? in grep's standrd regex is treated as a literal. eg. printf %s\\n a '?' 'a?' | grep --color=always '?', though if \? is not preceded by anything which it can act upon as a special zero or one regular expression modifier, then the \? is treated as a normal escaped character (ie. as the character itself). eg. printf %s\\n a '?' 'a?' | grep --color=always '\?' - as compared to printf %s\\n a '?' 'a?' | grep --color=always 'a\?'
May
21
revised What does this grep expression mean?
added 208 characters in body
May
21
comment What does this grep expression mean?
The answer addresses question, which states that it is a regular expression, but I'm sure to OP has gott the drift about there being a difference regarding quoted or not to the shell
May
21
answered What does this grep expression mean?
May
20
comment Inherit IO redirections from a script to another
FWIW - It writes the "stderr n" lines` to error.log for me - using your compiled c program and scripts as per your examples.