5,848 reputation
919
bio website e-choroba.blogspot.cz
location Czech Republic
age 38
visits member for 2 years, 11 months
seen yesterday

Bash, Perl, Linux. Programming & teaching.


Dec
13
awarded  Enlightened
Dec
13
awarded  Nice Answer
Dec
10
comment unix programming
This is not a test solving service. Also, please ask one question per "Question". Also, try to show some effort (not only but also by formatting the post).
Dec
10
reviewed Edit unix programming
Dec
10
revised unix programming
improved formatting
Dec
2
comment Shell glob expansion after loop variable substitution
How does it "not work" at the moment?
Nov
28
comment How do I use newlines inside () with sed?
@DisplayName: But it's a command substitution again, so it removes the trailing newlines...
Nov
28
comment How do I use newlines inside () with sed?
@DisplayName: Misplaced }: sqlinsertconvert8=$(echo "${sqlinsert8%:}" | sed la | sed '/kal/d')
Nov
28
comment How do I use newlines inside () with sed?
@DisplayName: Missing right }.
Nov
28
comment How do I use newlines inside () with sed?
@DisplayName: What do you mean? You can assign the substitution to a variable: y=${x%:}
Nov
28
comment How do I use newlines inside () with sed?
@jimmij: This will keep all the trailing newlines. If you don't want two of them, don't output them. Or, remove the last one, too: "${x%$'\n':}" (bash syntax).
Nov
28
answered How do I use newlines inside () with sed?
Nov
28
revised iterate lines containing zeros in bash
added 77 characters in body
Nov
28
answered iterate lines containing zeros in bash
Nov
26
answered Cycling through the *Buffer List* with C-n, C-p
Nov
26
comment How to test for unknown commands in shell script?
@Minix: In the extreme example I gave in my reply, how can you check with type when you don't know what a user will type in?
Nov
26
comment How to test for unknown commands in shell script?
@Minix: Without running a script, you can't tell what commands will be needed.
Nov
26
answered How to test for unknown commands in shell script?
Nov
26
comment Confusion about basic bashscript loop - until/done
@USERID_UNK: man bash of course, maybe also Bash Hackers or Advanced Bash Scripting Guide.
Nov
26
comment Confusion about basic bashscript loop - until/done
@USERID_UNK: I see it in the terminal, it goes to the standard error.