1,444 reputation
825
bio website
location
age
visits member for 3 years, 3 months
seen Apr 11 at 1:58

Nov
26
comment What are the main differences between BSD- and linux-based operating systems?
it's pretty hard to answer such an incredibly broad question without some generalizations. Downvoting Nils' answer because there are counter-examples out there seems rather unreasonable. His answer is still very useful, in my opinion, as it gives a bird's eye view.
Nov
26
comment What are the main differences between BSD- and linux-based operating systems?
I'm surprised this hasn't been closed as "not a real question" (which, as far as I can tell, really means something like "too difficult to answer"). I'm not suggesting it should be closed, just that something of such a broad scope on any other SE site probably would be.
Oct
5
comment How can I use `sudo` with a command, but still “be myself”?
I get sudo: sorry, you are not allowed to preserve the environment when I try that. Maybe getting them to change that configuration would solve the problem...?
Oct
5
comment How can I use `sudo` with a command, but still “be myself”?
Also, it does allow me to explicitly set the ssh user. But that wouldn't mean it's able to use my ssh keys, would it?
Oct
5
comment How can I use `sudo` with a command, but still “be myself”?
Perhaps I am guilty of understatement when I use the word "script". It's a pretty large system with lots of files: github.com/drush-ops/drush
Oct
5
asked How can I use `sudo` with a command, but still “be myself”?
Sep
29
revised Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
fixed mistaken attribution and a link to go along with it: now it refers to the correct person and their comment
Sep
29
comment Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
Thanks for the extremely thorough answer, and the big improvements to the function. It sounds like my use of "uninterpreted" was not clear, however. What I mean by that is the actual characters I typed on the command line (including ``), but after splitting things into separate arguments. If I'm reading between the lines of these answers correctly, the problem may be that splitting into separate arguments happens after expansion and handling of quoting and so forth, and the shell offers no way of changing this fact. Is that correct?
Sep
29
suggested suggested edit on Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
Sep
28
comment Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
@jw013: zsh is awesome, so it doesn't surprise me that it offers a way of getting around the limitations that remain in other shells. And that's exactly the kind of information I was trying to find. Thanks for the tip.
Sep
28
comment Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
No, I'm not. And I'm well aware of how things normally work. Are you trying to be snarky?
Sep
28
comment How to grant read/write to specific user in any existent or future subdirectory of a given directory?
If you want to understand what's going on here Samuel, Google for "setgid". The magic here is in the g+s. Of course you'll have to first understand the basics of chmod too.
Sep
28
asked Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
Sep
17
comment How to grep a specific line _and_ the first line of a file?
@ЯрославРахматуллин: I think you may have completely misunderstood what I said. (Perhaps because English is not your first language?) "Usability" is related to UX ("user experience") not utility (or "usefulness"). Pointing out that when a simple operation is this complex it hurts usability is NOT the same as saying the tools are useless. Quite obviously they are not useless. No one in their right mind would say they are useless.
Sep
12
comment How to grep a specific line _and_ the first line of a file?
The complexity required by these answers shows how the Unix philosophy of "do one thing and do it well" sometimes fails us when measured by the yard stick of usability: knowing all these commands well enough to apply them to this common problem (filtering process info and still seeing the column labels) shows the downside of the approach: sometimes things don't fit together very cleanly. This is why tools like ack are so useful, and why perl rocketed past sed,awk, etc. in popularity: it's important for the parts to sum up into a coherent whole.
Sep
5
awarded  Nice Question
Aug
31
comment is it possible to trigger `ssh-add <key>` only when I ssh into a box? (from Cygwin)
If I understand correctly, it looks like you forgot the -a after ssh-agent in the code provided.
Aug
30
comment Is it *really* possible to directly steal a private key if it uses no passphrase?
<facepalm>I obviously didn't read the introductory paragraph of that question carefully enough.</facepalm>
Aug
30
accepted Is it *really* possible to directly steal a private key if it uses no passphrase?
Aug
30
comment Is it possible to stop emacs from down translating my key chords?
d'oh! you're right. My mistake.