206 reputation
17
bio website
location Zurich, Switzerland
age 30
visits member for 2 years, 10 months
seen 4 hours ago

May
3
revised How to remove character and space from a string
add example
May
2
awarded  Yearling
Mar
20
answered How to comment multiple lines at once?
Nov
4
comment Is there a way to make “mv” fail silently?
@ChrisDown I see your point. It is usually a choice between two evils. But if in doubt, I prefer a failed successful run, than a successful failure. (which doesn't get noticed until it's getting visible to a customer/user). Shell scripts are a big mine field for beginners, it's so easy to miss a an error and your script goes haywire!
Sep
10
comment grep: memory exhausted
@StephaneChazelas thanks for the clarifications
Sep
10
awarded  Commentator
Sep
10
comment grep: memory exhausted
@ChrisDown rather a non-protable solution than a broken-portable solution.
Aug
21
awarded  Critic
Aug
21
comment Is there a way to make “mv” fail silently?
note, return value still != 0, therefore any set -e (which should be used in every shell script) will fail. you can add a || true to deactivate the check for a single command.
Aug
19
comment How to remove all the files in a directory?
hidden file will not be deleted.
Apr
25
revised How to remove character and space from a string
added 5 characters in body
Apr
17
awarded  Cleanup
Apr
17
revised How to remove character and space from a string
rolled back to a previous revision
Apr
17
comment How to remove character and space from a string
good point, thamks!
Apr
17
revised How to remove character and space from a string
useless use of cat
Apr
17
answered How to remove character and space from a string
Apr
17
comment How to remove character and space from a string
take care, the first one is greedy and eats too much if there's a ': ' in the part right of the first ':'.
Feb
4
awarded  Custodian
Feb
4
reviewed Excellent What does the term static variable mean in unix speak?
Feb
1
awarded  Supporter