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

Bash, Perl, Linux. Programming & teaching.


Oct
9
answered Can you source a “here document”?
Oct
8
answered What “i” and “v” indicates in the zypper output?
Oct
6
revised Regex works in shell but not through Perl script
added 152 characters in body
Oct
6
answered Regex works in shell but not through Perl script
Oct
5
reviewed Reject suggested edit on Using sed, how can I replace a line containing a pattern with contents from another file?
Oct
2
revised Call sed to replace a string stored in a bash variable
added 5 characters in body
Sep
30
awarded  Explainer
Sep
30
answered char-to-char substituion with sed
Sep
26
answered Using $BASHPID in grep statement
Sep
22
answered Is there a way to express fixed size loops as loop-less expansion statement in bash?
Sep
22
answered How do I change emacs application name from “Emacs” to something else in OSX?
Sep
18
comment bash how to remove options from parameters after processing
Once I need something complicated, I switch from bash to Perl.
Sep
18
awarded  shell
Sep
17
answered Can I specify a redirected input before a compound command?
Sep
12
comment How to use a variable plus glob ($var*) in bash
Have you tested it? The * is expanded in the test where there are no quotes. In the assignment, the quotes don't matter.
Sep
12
comment How to use a variable plus glob ($var*) in bash
Do you run the script from the directory where the file resides?
Sep
12
comment How to use a variable plus glob ($var*) in bash
How many files match the wildcard pattern?
Sep
10
comment How can I force bash to deallocate a brace expanded variable without name?
Also, for larger lists, use for (( i=1 ; i<=100000000 ; i++ )) ; do
Sep
9
comment Go up one level from a nonexistent path
@drewbenn: Right, just prepend [[ $dir == */* ]] || exit.
Sep
8
answered Go up one level from a nonexistent path