5,303 reputation
717
bio website e-choroba.blogspot.cz
location Czech Republic
age 38
visits member for 2 years, 9 months
seen 10 hours ago

Bash, Perl, Linux. Programming & teaching.


Jun
18
answered How to cut everthing until a specific word / after a find in a script
Jun
17
answered How to fork a “cat” command?
Jun
17
comment Editing INI-like files with a script
Use Perl and metacpan.org/pod/Config::IniFiles
Jun
16
awarded  Enlightened
Jun
16
awarded  Nice Answer
Jun
14
answered Serialize shell variable in bash or zsh
Jun
10
answered Use SED or AWK to move string to new column and row
Jun
9
comment GREP / SED or AWK: Print entire paragraph in a file on pattern match
@IrfanN: On MSWin, you have to switch quotes perl -ne "BEGIN{ $/ = '' } print if /pattern/".
Jun
9
answered GREP / SED or AWK: Print entire paragraph in a file on pattern match
Jun
8
comment Convert all text from uppercase to lowercase and vice versa?
tr would be more suitable than sed.
Jun
8
answered Sed : Delete between the first n lines the ones with a given string in them
Jun
8
comment Can't search for flags in qalter's man page?
What about man pages of other commands (e.g. ls)?
Jun
8
comment Can't search for flags in qalter's man page?
Works for me, pressing /-r plus Enter.
Jun
6
comment sed's c command outputs current line no matter what
+1 The fact is not mentioned in the man page.
Jun
6
revised What fd's are used when doing diff <(cat old) <(cat new)?
added 42 characters in body
Jun
6
answered What fd's are used when doing diff <(cat old) <(cat new)?
Jun
5
answered To bold one line with Perl regex
Jun
5
revised Is there a way of copying only directories and not files in bash?
added 187 characters in body
Jun
5
answered Is there a way of copying only directories and not files in bash?
Jun
5
answered Apply item replacement inside enumerate in Perl regex?