1,581 reputation
1028
bio website
location
age
visits member for 3 years, 7 months
seen 17 hours ago

Jul
25
awarded  Notable Question
Jul
24
accepted How can I suppress the space between generated arguments during brace expansion?
Jul
24
comment How can I suppress the space between generated arguments during brace expansion?
It's a hard call, but I'm choosing this answer because (1) it seems (AFAIK) to be the closest to the stated goal of suppressing rather than merely removing the spaces, and (2) I learned the most from it (a stated goal of my question).
Jul
24
comment How can I suppress the space between generated arguments during brace expansion?
I think this is the simplest and most practical approach
Jul
24
comment How can I suppress the space between generated arguments during brace expansion?
Wouldn't richard's answer be equally compatible? (It also has the advantage of being simpler, therefore I don't have to stop and think about the fiddly bits the next time I want to use it.) On the other hand, Gnouc's answer is also excellent. And I think I learned the most from glenn jackson's answer. Leiaz's answer seems simplest and most elegant, but of course is zsh-only.
Jul
24
comment How can I suppress the space between generated arguments during brace expansion?
at the moment I'm using bash (I'm at work) but on my own laptop I use zsh. I was expecting brace expansion to work identically in both, but perhaps that's not the case.
Jul
24
comment How can I suppress the space between generated arguments during brace expansion?
+1 Thanks--good to know! I'll use that when I'm on zsh. I tagged it that simply because I use both and both support brace expansion. (I don't know if any others do, but I find ksh terribly confusing, so I stay away.)
Jul
24
asked How can I suppress the space between generated arguments during brace expansion?
Jul
21
awarded  Popular Question
Jul
21
revised Simple sed replacement of tabs mysteriously failing
added 260 characters in body
Jul
21
accepted Simple sed replacement of tabs mysteriously failing
Jul
19
awarded  Inquisitive
Jul
18
revised Simple sed replacement of tabs mysteriously failing
deleted 1 character in body
Jul
18
comment Simple sed replacement of tabs mysteriously failing
Since it didn't work with Ruby either, I'm not sure why I would conclude that OS X's sed is the problem. Do you have a reason to believe that's the problem? I'd be happy to install GNU sed if I had reason to believe it would solve the problem, but it seems like I've pretty much ruled that out.
Jul
18
asked Simple sed replacement of tabs mysteriously failing
Jul
16
comment Why does passing a HEREDOC as a string to `ruby -e` not work?
You provided the key insight (and answered first!) and it was fairly obvious to me after reading your answer that I could add double quotes around the the $() expression, but it might not be so obvious to everyone who reads this later, so I'm torn on which answer to accept.
Jul
16
comment Why does passing a HEREDOC as a string to `ruby -e` not work?
Initially I thought this was flawed because I wouldn't be able to use double quotes inside the code, but then realized that even though the HEREDOC is a stream rather than a string (as Kaz points out) it will still hide any internal double quotes from the shell interpreter.
Jul
16
asked Why does passing a HEREDOC as a string to `ruby -e` not work?
Jul
13
awarded  Popular Question
Jul
8
comment How do I get rid of Cygwin's /cygdrive prefix in all paths?
I didn't know there was a way to get the windows drives at /. Did you have that before? (Or at /cygdrive/?) I've always just lived with the fact that I have to know which Windows drives are available, and I hardly ever use them anyway.