Reputation
Next tag badge:
98/100 score
38/20 answers
Badges
20 153 311
Newest
 Nice Answer
Impact
~5.1m people reached

Apr
25
comment Why do I receive a “/bin/bash cannot find command” error for an alias?
! spawns a shell though. However that shell is non-interactive so doesn't read customisation files like ~/.bashrc and in the case of bash doesn't expand aliases anyway.
Apr
25
revised Security implications of forgetting to quote a variable in bash/POSIX shells
added 826 characters in body
Apr
24
answered read command in zsh throws error
Apr
24
revised Security implications of forgetting to quote a variable in bash/POSIX shells
added 3 characters in body
Apr
24
revised How to tell “grep -w” what characters make up “words”?
added 591 characters in body
Apr
24
answered Unwanted ctrl+h in file saved from man's output
Apr
24
revised Why does exporting vim as EDITOR in zsh disable keyboard shortcuts?
added 73 characters in body
Apr
24
revised How to tell “grep -w” what characters make up “words”?
clarify
Apr
24
comment Search and replacing strings in a numerical data file
sed -E 's/[0-9.+-]*e[-+]?[0-9]{2}/ &/g' data.txt or sed -E 's/[0-9.+-]*e[-+]?[0-9]{2}/ &/g' < data.txt. See also sed -E 's/e[-+]?[0-9]{2}/& /g' data.txt
Apr
24
comment Search and replacing strings in a numerical data file
Would sed -E 's/[0-9.-]*e-?[0-9]{2}/ &/g' do?
Apr
24
comment Search and replacing strings in a numerical data file
Your expected output doesn't match your input
Apr
24
comment echo with backspace
\b doesn't erase anything, it just writes the 0x8 character to stdout. When stdout is a terminal, that terminal understands that character as moving the cursor to the left by one column. For many terminals, that doesn't wrap, that is when the cursor is on the first column, it doesn't move back to the last column one line up. Some terminals do. Check for bw in the terminfo entry for those that do (like rxvt, Eterm...)
Apr
24
revised Is it possible to echo into a file, but use indenting in the shell script source?
formatting.
Apr
24
revised How to tell “grep -w” what characters make up “words”?
added 76 characters in body
Apr
24
revised How to tell “grep -w” what characters make up “words”?
added 159 characters in body
Apr
24
revised How to tell “grep -w” what characters make up “words”?
added 159 characters in body
Apr
24
answered How to tell “grep -w” what characters make up “words”?
Apr
24
revised Is it possible to echo into a file, but use indenting in the shell script source?
added 352 characters in body
Apr
24
revised Is it possible to echo into a file, but use indenting in the shell script source?
deleted 175 characters in body
Apr
24
revised Is it possible to echo into a file, but use indenting in the shell script source?
deleted 175 characters in body