19,987 reputation
34475
bio website
location United States
age
visits member for 3 years, 2 months
seen 3 mins ago

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.


20h
comment Move to other end of paragraph in vim (not a visual block)
@TylerDurden There is no swap key. Just use {}.
Oct
17
revised How do I handle switches in a shell script?
Removed broken link that I can no longer find.
Oct
17
comment Optional arguments after or before the mandatory arguments?
@MichaelMrozek The POSIX standard getopts actually expects all option arguments to come before non-option arguments ("operands"). The script itself has to do extra work to support interleaving the two. I do not know about getopt since it is less standard and there are multiple (GNU and not GNU) versions out there.
Oct
17
answered Redirect output to stdout and pipe to a binary
Oct
17
revised Redirect output to stdout and pipe to a binary
Fix command typo
Oct
16
comment How can I link my C program against the Arb library?
Looks like you'll need to grab and install a library from the same website: fredrikj.net/arb
Oct
13
comment Linking a static library when compiling a C program
With static libraries you don't need to use -l. Try gcc abc.c libad.a, or whatever the actual static library name is. Just pretend the library is another object file.
Oct
11
comment What means a number of links > 1 for directories?
Remember that . and .. are hardlinks. In your case /etc has 161 subdirectories, all of whom contain a .. hardlink to it. See here and here.
Oct
11
comment What does && mean in cd “$OLDPWD” && pwd?
@Tim That is a history question that maybe someone else can answer. Post a new question as suggested instead of editing a closed one.
Oct
11
comment What does && mean in cd “$OLDPWD” && pwd?
@Tim Doesn't cd - mean the same as cd "$OLDPWD"? -- No. cd - doesn't print out the current dir after running cd "$OLDPWD", does it? -- Yes it does. This takes 2 seconds to verify for yourself. It is also in the definition.
Oct
11
comment What does && mean in cd “$OLDPWD” && pwd?
@Tim No. See my previous comment.
Oct
11
comment What does && mean in cd “$OLDPWD” && pwd?
@Tim && pwd is part of the definition. Why questions like this are hard to answer. Why is && pwd in the definition? Probably to be consistent with historical practice. Why is this historical practice? You'll have to ask someone who was there.
Oct
10
comment Why can't I install the midnight commander on Debian?
I don't think wheezy-updates is the same as wheezy, the main repository.
Oct
10
awarded  Good Answer
Oct
10
answered How can I run a bash variable as a command exactly without additional quotation?
Sep
30
awarded  Explainer
Sep
19
awarded  Enlightened
Sep
19
awarded  Nice Answer
Sep
17
revised Strange errors when using ffmpeg in a loop
deleted 250 characters in body
Sep
16
comment What does the underscore motion do in vim?
@TylerDurden The difference is 1 (line), as is the difference between [count] - 1 and [count] for any value of [count]. As Ingo mentioned, it would do you some good to read vim's built-in help which is quite clear.