Reputation
115,433
Next tag badge:
97/100 score
36/20 answers
Badges
18 145 291
Newest
 Nice Answer
Impact
~4.4m people reached

May
28
revised Negate exit code without using shell features
typos
May
28
answered source multiple files and output one file
May
28
comment source multiple files and output one file
Is the order of the output that matters or the order of the assignment? (is it OK for custom to show before name in the output as long as last is star and not '')?
May
28
comment Stateful uniq functionality
sort limits its memory usage by resorting to temporary files. The awk solution stores all unique lines in memory so could end up using more memory than sort would.
May
27
revised How can I quickly sum all numbers in a file?
added 132 characters in body
May
27
answered How can I quickly sum all numbers in a file?
May
27
revised Output to variable with an indirect command (eval)
added 922 characters in body
May
27
answered Output to variable with an indirect command (eval)
May
27
awarded  Enlightened
May
27
awarded  Nice Answer
May
27
awarded  Good Answer
May
27
reviewed Approve Why do I need to quote variable for if, but not for echo?
May
27
revised Move a range of words to the end of the string
added 86 characters in body
May
27
revised Move a range of words to the end of the string
added 86 characters in body
May
27
answered Move a range of words to the end of the string
May
27
comment Move a range of words to the end of the string
Can there be more than one comment= and/or fruit in that string? Do you need that process for every line of a file, or just in a string stored in a shell variable? Can that string contain newline characters?
May
27
revised Move a range of words to the end of the string
added 8 characters in body
May
27
comment how do I trim each line in bash?
@don_crissti ...and/or has lines starting with - and followed by combinations of 1 or more e, E or n characters, and/or contains NUL characters. Also, a non-terminated line after the last newline will be skipped.
May
27
revised man page search - how can I turn off the highlighting after matches found?
clarify that that answer covers the "less" pager (other pagers tend not to highligh searches by default anyway)
May
27
revised man page search - how can I turn off the highlighting after matches found?
nothing to do with bash. typos