Reputation
22,031
Next tag badge:
388/400 score
120/80 answers
Badges
24 46
Newest
 Nice Answer
Impact
~898k people reached

12h
comment works as a command but not as a shell script. Why?
In this case, we can write grep "apple" fruits.txt && echo A || echo B -- that form may not be appropriate with commands more complex than "echo"
1d
comment How can I quickly sum all numbers in a file?
Not according to my measurements: it depends how much work you have to do to generate the formula
1d
revised how to print field between the double quote
deleted 2 characters in body; edited title
May
27
answered .txt File from Mac not converting properly
May
26
answered Delete blank columns
May
26
comment Delete blank columns
What is the field separator?
May
26
revised Append something to each list in a file
fixed formatting: missing backtick
May
26
comment Append something to each list in a file
He's quite right. Because I'm storing the additional values in a simple associative array, I can only store one line for each variable. To be able to store multiple lines, I'd switch to Perl where hash-of-arrays is easy.
May
26
revised Append something to each list in a file
added 329 characters in body
May
26
answered Append something to each list in a file
May
25
comment Sed: how to replace 0 and :?
+1 to the answer and comments: @elbarna, you're getting too tricky with alternate s/// delimiters. Keep it simple
May
20
answered make average row with the same pattern
May
19
revised Extract some columns from grep output
added 527 characters in body
May
19
answered Extract some columns from grep output
May
15
answered how to continue bash script execution when expect part is finished
May
15
comment how to continue bash script execution when expect part is finished
Then you have no choice but to expand your expect script. When your funct function returns, the "su" shell has been closed. I'll throw some ideas into an answer
May
15
comment how to continue bash script execution when expect part is finished
I'm not clear on why you are doing su - oracle and then doing nothing in that shell. What is your goal here?
May
14
revised Adding File Text With Sed
added 178 characters in body
May
14
answered Adding File Text With Sed
May
14
revised Remove special pattern ^M from script which got appended after FTP from windows to Unix
remove spurious pipe