Reputation
290
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 12
Newest
 Explainer
Impact
~16k people reached

Jan
30
answered How to cut every line from a particular string?
Dec
1
comment Subtract floating numbers in shell script
@StéphaneChazelas True. I guessed that a multi-locale solution was out-of-scope for this question.
Nov
29
answered Check variable is an array in Bourne like shell?
Oct
23
revised How to count a string occurrence,search in between a pattern for specific string
Cosmetic: Avoid scrollbars, avoid syntax highlighting in output
Oct
23
suggested approved edit on How to count a string occurrence,search in between a pattern for specific string
Oct
4
comment Virtualbox guest responding really slow over SSH, VBoxHeadLess stuck in 99.9% system time
Update: I changed jobs, and the laptop, which was my employer's has passed on. End of story, for now. @Kounavi - any details on the cpu type and OS?
Aug
20
answered Subtract floating numbers in shell script
Jun
12
comment while read loop
As presented, that code snippet would print the second word from each line produced by the while ... done loop. I.e.: is x4
Jun
9
revised How do I pass a series of patterns into awk from a shell script?
added 2 characters in body
Jun
9
awarded  Explainer
May
30
revised How do I pass a series of patterns into awk from a shell script?
Based on the accepted answer, this is not about loops. The new title reflects this.
May
30
comment How do I pass a series of patterns into awk from a shell script?
The problem as stated could probably be done with a grep -f foo.txt. If there are additional constraints, edit the question accordingly.
May
30
answered How do I pass a series of patterns into awk from a shell script?
May
30
suggested approved edit on How do I pass a series of patterns into awk from a shell script?
May
16
revised use SFTP in shell script
split arguments to `scp` across multiple lines for clarity.
May
16
suggested approved edit on use SFTP in shell script
Apr
9
comment KSH - if/then/else vs. double amps (&&) and double pipes (||)
Apologies. Updated now.
Apr
9
revised KSH - if/then/else vs. double amps (&&) and double pipes (||)
added 458 characters in body
Apr
8
comment KSH - if/then/else vs. double amps (&&) and double pipes (||)
@mikeserv I stand corrected. Will update the post.
Apr
8
comment KSH - if/then/else vs. double amps (&&) and double pipes (||)
@mikeserv I don't get what you're trying to say about || continue. Important thing here is that continue will preserve the value of $? for when it might drop out of the loop. The if construct discards it.