Reputation
8,415
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
15 29
Newest
 Nice Answer
Impact
~313k people reached

Jul
2
comment Replace values in column that contain numbers
@stellar01: That's just a warning. There's a line that contains less than 13 fields.
Jun
23
comment How to see if there are any matching characters in a string?
@viktorahlström: What version of bash do you have?
Jun
23
comment How to see if there are any matching characters in a string?
Do you realise that you can deal the same card several times?
Jun
18
comment 'ls' showing two identical files in a directory
Can you run something like echo tftp* | xxd or some other hexdump?
Jun
16
comment Is there any way to print value inside variable inside single quote?
Why do you need it?
Jun
16
comment How to efficiently split up a large text file wihout splitting multiline records?
How long does a single zcat file > /dev/null take?
Jun
14
comment Filter out combination options in lines
You have to add it to the condition: print unless /...|hernia/ or print unless /.../ || /hernia/
Jun
14
comment bash silently does function return on (re-)declare of global associative read-only array
Weird. Doesn't happen in bash 4.2.53(1).
Jun
10
comment How to automate a webbrowser that supports javascript?
WWW::Mechanize::Firefox, WWW::Mechanize::PhantomJS...
Jun
8
comment Splitting a file using perl
Also, where would apple,lemon go?
Jun
2
comment accessing loop variable within a loop
Bash is case sensitive. $List and $LIST are two different variables.
Jun
2
comment accessing loop variable within a loop
List = 1 2 3 4 5 calls the command List with 6 arguments, = being the first of them.
May
29
comment Add a number in a huge ASCII file
@nam: It's better to ask a new question.
May
27
comment Add a number in a huge ASCII file
@nam: Oh, you have to negate the condition, or switch the "then" and "else".
May
27
comment Add a number in a huge ASCII file
@nam: No, the condition to replace was $1 == 0.
May
27
comment Add a number in a huge ASCII file
@nam: Just change the condition to 1.234e-6 < $1 && $1 < 5.678e-5.
May
26
comment Delete blank columns
@Otheus: It's @hash{@keys} = @values.
May
26
comment Delete blank columns
@Otheus: Try \%empty instead.
May
26
comment Delete blank columns
@Otheus: Easily fixed by prepending \@header to the for loop list.
May
26
comment Delete blank columns
@Otheus: With just spaces, you'd have to deduce the column widths from the header. Doable, but boring :)