Reputation
118,390
Next tag badge:
98/100 score
37/20 answers
Badges
19 150 297
Newest
 Nice Answer
Impact
~4.8m people reached

Jun
12
comment Unix bash/ksh : Selection of first non space character from file from specific line
\s is a (recent) GNUism. It won't work elsewhere. The standard equivalent is [[:space:]]. Note that you don't have to keep the history of your answer in. It's OK to change your answer without keeping trace of the older versions.
Jun
12
revised Unix bash/ksh : Selection of first non space character from file from specific line
simplified. Corrections.
Jun
12
answered Unix bash/ksh : Selection of first non space character from file from specific line
Jun
12
revised Understand “IFS= read -r line”?
added 6 characters in body
Jun
12
revised Understand “IFS= read -r line”?
added 12 characters in body
Jun
12
revised Understand “IFS= read -r line”?
added 12 characters in body
Jun
12
revised Understand “IFS= read -r line”?
actually, most shells documentations are correct. It's the POSIX spec that is misleading.
Jun
12
revised Understand “IFS= read -r line”?
added 159 characters in body
Jun
12
revised Understand “IFS= read -r line”?
added 159 characters in body
Jun
12
revised Understand “IFS= read -r line”?
added 1557 characters in body
Jun
12
revised Understand “IFS= read -r line”?
added 5 characters in body
Jun
12
answered Understand “IFS= read -r line”?
Jun
12
revised How to filter content between specific keywords using grep?
added 36 characters in body
Jun
12
comment Peculiar error in perl Program
3rd issue: if any of those directories are symlinks, the chdir(../..) will not necessarily take you back to where you were.
Jun
12
revised is it possible to search for files that have a special Linux file attribute?
added 6 characters in body
Jun
11
comment How can I replace all semicolons after 1st one?
@Masi, mikeserv's is portable, this one's shorter and more efficient with GNU sed. I'd go with mikeserv's unless you know your code or any copy of it will never end-up on a non-GNU system. Performance is probably not an issue unless your input is several megabytes
Jun
11
revised How can I replace all semicolons after 1st one?
added 195 characters in body
Jun
11
revised How do I delete the first n lines and last line of a file using shell commands?
`-i` used like that is GNU specific
Jun
11
revised How can I replace all semicolons after 1st one?
added 195 characters in body
Jun
11
answered How can I replace all semicolons after 1st one?