246 reputation
19
bio website launchpad.net/~flimm
location
age
visits member for 3 years, 3 months
seen yesterday

1d
revised How to treat strings with spaces as a whole in bash?
Bash does not allow spaces around the equals sign, and this bug is not central to the question
1d
suggested suggested edit on How to treat strings with spaces as a whole in bash?
Oct
24
awarded  Informed
Oct
7
comment How can I find broken symlinks
Short, consice, and addresses the find -L pitfall as well as cyclical links. +1
Oct
7
comment How can I find broken symlinks
I don't understand why -xtype l works. find . -type l -xtype l means "find all the symlinks to symlinks", rather than, "find all the symlinks to files that don't exist", right?
Oct
2
accepted How can I mount a filesystem, mapping userids?
Oct
1
asked How can I mount a filesystem, mapping userids?
Sep
18
comment How can I get the first match from wildcard expansion?
@Archemar: doesn't work with newlines in filenames.
Sep
18
asked How can I get the first match from wildcard expansion?
Aug
1
comment How do I delete a file in a read-only directory?
It's possible to delete read-only files with rm -f, but not files in read-only directories. I'm just looking for a convenient one-line command, I know why it fails by default.
Aug
1
comment How do I delete a file in a read-only directory?
Why does root have extra privileges that even the owner of the directory and file doesn't have?
Aug
1
asked How do I delete a file in a read-only directory?
Jul
8
comment How can I delete a trailing newline in bash?
This is not exactly equivalent to chomp, as chomp only deletes at most one trailing newline.
Jul
4
accepted How can I delete a trailing newline in bash?
Jul
4
awarded  Yearling
Jul
4
asked How can I delete a trailing newline in bash?
Jul
2
awarded  Curious
Feb
14
comment Local variables in zsh: what is the equivalent of bash's “export -n” in zsh
typeset +x VAR is equivalent to declare -x VAR in both Bash and Zsh.
Dec
4
accepted Is there a --parents option for mv like for cp?
Nov
8
awarded  Critic