1,712 reputation
1230
bio website
location
age
visits member for 3 years, 10 months
seen Oct 17 at 16:56

Aug
1
suggested suggested edit on Copy files from remote server to local, ignoring existing files (rsync not available)
Aug
1
comment How to execute a remote command and pass in local file as input?
Okay, I thought you were taking this approach instead of < since you thought writing was required (as was implied by the original title) but you were simply offering another way of doing it (which just happens to allow writing as a side effect).
Aug
1
comment How to execute a remote command and pass in local file as input?
Okay, I must have misunderstood your answer. I didn't try it, but inferred that since you were establishing a reverse tunnel (from remote to local host?) you were allowing the local file to be modified by the remote machine. Is that not the case?
Aug
1
awarded  Notable Question
Aug
1
revised How to execute a remote command and pass in local file as input?
OP simply wants the local file to be input, therefore is not acting *on* (that is, modifying) the local file. The previous title implied acting on (modifying) the file locally.
Aug
1
comment How to execute a remote command and pass in local file as input?
@Gilles: I think the original title was misleading, and you understood his question based on the misleading title. As far as I can tell, thought, he didn't actually want to act on the local file, but just pass it in as input. (But your answer is amazing, if I understand it correctly! Maybe I should ask the question you answered, just to give you a place to put the answer where you'll get proper credit for it.) I've edited the questions title to make it consistent with the body and with the chosen answer.
Aug
1
suggested suggested edit on How to execute a remote command and pass in local file as input?
Aug
1
accepted Variable assignment outside of case statement
Jul
31
comment Variable assignment outside of case statement
One page I checked (I don't recall where it was) listed the opening ( as optional. I thought it might help avoid letting the ) be misinterpreted as the closing ) for the $(...) expression.
Jul
31
asked Variable assignment outside of case statement
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