2,287 reputation
29
bio website e-choroba.blogspot.cz
location Czech Republic
age 37
visits member for 1 year, 4 months
seen 3 hours ago
stats profile views 75

Bash, Perl, Linux. Programming & teaching.


4h
answered bash script selecting the last path variable
May
20
reviewed Edit suggested edit on Can't indent heredoc to match nesting's indent
May
20
revised Can't indent heredoc to match nesting's indent
This is the actual format I needed to use. Changing so answer more closely matches eventual solution.
May
20
comment Can't indent heredoc to match nesting's indent
@JoelDavis: Just remove the quotes, keep the hyphen.
May
20
answered Can't indent heredoc to match nesting's indent
May
16
answered Perform floating point arithmetic in shell script variable definitions
Apr
22
reviewed Edit suggested edit on Special character '#' in Perl SSH command
Apr
22
revised Special character '#' in Perl SSH command
"" will not work alone
Apr
19
answered Special character '#' in Perl SSH command
Apr
19
revised Special character '#' in Perl SSH command
formatting
Apr
17
revised Unix command for pattern matching
added 35 characters in body
Apr
17
comment Unix command for pattern matching
@Bhushan: Works for me. What shell are you running?
Apr
17
answered Unix command for pattern matching
Apr
16
answered Is there an easy way to change bash suggestions?
Apr
16
answered Supress expansion of * in echo
Apr
9
comment read line by line and take a string in line and assign that string to the subsequent line using perl
@user36697: Now, my script gives the expected outputs in both the cases. I am not sure it is general enough, though, as the specification is still unclear.
Apr
9
revised read line by line and take a string in line and assign that string to the subsequent line using perl
added 308 characters in body
Apr
8
comment read line by line and take a string in line and assign that string to the subsequent line using perl
@user36697: Then please give a more detailed specification.
Apr
8
answered read line by line and take a string in line and assign that string to the subsequent line using perl
Apr
8
comment read line by line and take a string in line and assign that string to the subsequent line using perl
Why is TRN changed to ARN at line 7? Why is the abcdedfg part not copied to the next line, too?