1,092 reputation
31325
bio website
location
age
visits member for 3 years, 6 months
seen yesterday

Dec
12
awarded  Tumbleweed
Dec
8
awarded  Famous Question
Dec
5
asked udisks cannot read label - force to recognize (and mount under) partition labels?
Dec
4
awarded  Notable Question
Nov
29
awarded  Inquisitive
Nov
28
comment Possibilities for executable symlink to non-executable file in Linux?
Thanks for that @vinc17, very nice approach; another alternative I forgot while writing the OP, was to include alias myscript.py="python /path/to../myscript.py" in .bashrc. Cheers!
Nov
28
accepted Possibilities for executable symlink to non-executable file in Linux?
Nov
28
asked Possibilities for executable symlink to non-executable file in Linux?
Nov
14
awarded  Notable Question
Nov
13
answered Software for visually building regular expressions?
Nov
3
awarded  Famous Question
Oct
11
comment Controlling what files to display
Thanks for the answer, I have just one question: why doesn't ls --hide=*1 a* not hide anything, but still lists all three a-1 a-2 a-3? I would have expected it to hide the a-1?
Sep
27
awarded  Popular Question
Aug
17
awarded  Popular Question
Jul
24
awarded  Popular Question
Jul
17
awarded  Notable Question
Jul
16
answered The reverse of `tree` - reconstruct file and directory structure from text file contents?
Jul
16
comment Is there a web based converter between rwx and the octal version?
Many thanks for that, @nico - here is the same code converted as a perl one-liner, and used in bash: echo 'rwxrwxrw-' | perl -ne 'BEGIN{sub conv{ chomp(my $ins=shift); my $k=0; for(my $i=0;$i<=8;$i++) { my $tmps = ( substr($ins, $i, 1) =~ /[rwx]/ ); $k+= ( $tmps*(2**(8-$i)) ); }; if ($k) { sprintf(" %0o ", $k); } else { "??" ; }; }; } print(conv($_)."\n");' would print "776". Cheers!
Jul
7
awarded  Popular Question
Jul
4
comment How to prepend a license header recursively for all .h and .cpp files in a directory
Related (has some Python code examples): language agnostic - Tool for adding license headers to source files? - Stack Overflow