Reputation
2,871
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 10 16
Newest
 Explainer
Impact
~104k people reached

Jun
24
comment matrix operation in bash
I was able to process a 123 MB file with less than 10 GB memory in 1m10s.
Jun
24
comment matrix operation in bash
It depends. How much memory do you have? Is the machine 64bit?
Jun
24
comment matrix operation in bash
What's the expected output for the given input?
Jun
11
comment Checking a floating point value within a range
Interestingly, 1<1<1 returns 1, as it's interpreted as (1<1)<1, i.e. 0<1.
May
29
comment Name files after split command
stackoverflow.com/q/30525185/1030675
May
14
comment How to compare/fetch the greater value in perl script?
or better, create a new question "How do I send an email from a Perl script?".
May
14
comment How to compare/fetch the greater value in perl script?
@kiranbbnl: If you want to create cron jobs, you should read man cron. To send email, use Email::Sender or similar.
May
14
comment How to compare/fetch the greater value in perl script?
@kiranbbnl: Check the update.
May
14
comment How to compare/fetch the greater value in perl script?
This is a shell script, not a perl script. The perl script is contained in single quotes.
Apr
8
comment Bash script: command not found
Have you tried running hash -r?
Apr
8
comment Bash script: command not found
Please, add the output of echo "$PATH" | xxd to the question. Also, check that the error isn't coming from inside of the script: doesn't it call a command that's not found?
Mar
22
comment Print second vowel in word in red color
What is the problem: how to colour the output, or how to recognise the second vowel? (Or both?)
Mar
9
comment Repeat each line in a text n times
perl -ne 'print $_ x 3' file is even easier.
Feb
28
comment Is it possible to run stress at the same time as vmstat/iostat etc?
stackoverflow.com/questions/28781296/…
Feb
11
comment Change bash title to show truncated pwd
How do you change bash's title?
Dec
22
comment Alternative for |(pipe) operator
I'm just checking it's not an XY problem.
Dec
22
comment Alternative for |(pipe) operator
Why do you need it?
Nov
21
comment How to select and print IP address from a set of strings?
For multiline processing, I'd turn to Perl.
Nov
21
comment How to select and print IP address from a set of strings?
@AnanduMDas: Updated.
Nov
12
comment How to find all patterns between two characters?
Is it possible for the quoted text to contain newlines?