# orderedItems[].object.content
maybe one day I will remember that actually `cmd &> file.txt` just works (at least in the all the shells I have installed on my computer)

# orderedItems[].object.contentMap.en
maybe one day I will remember that actually `cmd &> file.txt` just works (at least in the all the shells I have installed on my computer)

# orderedItems[].object.content
@mdione @ferrix does this feel better?

# orderedItems[].object.contentMap.en
@mdione @ferrix does this feel better?

# orderedItems[].object.content
@miek thanks this is a great post

# orderedItems[].object.contentMap.en
@miek thanks this is a great post

# orderedItems[].object.content
I find the `cmd > file.txt 2>&1` vs `cmd 2>&1 > file.txt` syntax weird because

a) on one hand, it does feel like it should be possible to think about how it works, `dup`, read it left to right, file descriptors, imagine how it's implemented in the shell, we can understand computers etc etc
b) in practice my brain completely rejects this information and can only handle "try one way and it doesn't work try the other way” (#1 is right)

(not looking for explanations of how it works right now)

# orderedItems[].object.contentMap.en
I find the `cmd > file.txt 2>&1` vs `cmd 2>&1 > file.txt` syntax weird because

a) on one hand, it does feel like it should be possible to think about how it works, `dup`, read it left to right, file descriptors, imagine how it's implemented in the shell, we can understand computers etc etc
b) in practice my brain completely rejects this information and can only handle "try one way and it doesn't work try the other way” (#1 is right)

(not looking for explanations of how it works right now)

# orderedItems[].object.content
just learned the other day that it's possible to copy to your clipboard over SSH:

- it's a core neovim feature: https://neovim.io/doc/user/provider.ht ml#clipboard-osc52
- @dmitry told me you can write a 1-line shell script that will take stdin and put it in your clipboard, script is here https://jvns.ca/til/vim-osc52/

# orderedItems[].object.contentMap.en
just learned the other day that it's possible to copy to your clipboard over SSH:

- it's a core neovim feature: https://neovim.io/doc/user/provider.ht ml#clipboard-osc52
- @dmitry told me you can write a 1-line shell script that will take stdin and put it in your clipboard, script is here https://jvns.ca/til/vim-osc52/

# orderedItems[].object.content
@rvedotrc thanks, been playing with the diagram to try to make it clearer. will get there I think.

# orderedItems[].object.contentMap.en
@rvedotrc thanks, been playing with the diagram to try to make it clearer. will get there I think.

# orderedItems[].object.content
@zellyn yea in theory I like the idea of Explaining How It Works but in practice for whatever reason it works better for me to memorize the thing that works and not worry about it (or just try one way, and do the other one if it fails like you said)

# orderedItems[].object.contentMap.en
@zellyn yea in theory I like the idea of Explaining How It Works but in practice for whatever reason it works better for me to memorize the thing that works and not worry about it (or just try one way, and do the other one if it fails like you said)

# orderedItems[].object.content
@sumek you probably know this but it's a bit weird to explain that one because `-` isn't actually a shell feature, it's just a convention that a lot of programs happen to implement. Probably worth mentioning somewhere though.

# orderedItems[].object.contentMap.en
@sumek you probably know this but it's a bit weird to explain that one because `-` isn't actually a shell feature, it's just a convention that a lot of programs happen to implement. Probably worth mentioning somewhere though.

# orderedItems[].object.content
@ololduck i wrote a comic about it many years ago that may or may not help https://wizardzines.com/comics/pipes/

# orderedItems[].object.contentMap.en
@ololduck i wrote a comic about it many years ago that may or may not help https://wizardzines.com/comics/pipes/

# orderedItems[].object.content
@w8emv re tee -- is it `echo blah | sudo tee file.txt`?

# orderedItems[].object.contentMap.en
@w8emv re tee -- is it `echo blah | sudo tee file.txt`?

# orderedItems[].object.content
@ferrix yea that's a great point thanks!

# orderedItems[].object.contentMap.en
@ferrix yea that's a great point thanks!

# orderedItems[].object.content
@chrisgerhard no because personally I have never used that (and I use fish where that doesn't work anyway)

# orderedItems[].object.contentMap.en
@chrisgerhard no because personally I have never used that (and I use fish where that doesn't work anyway)

# orderedItems[].object.content
@ololduck I guess the main differences with a pipe are that

a) if the second process crashes for some reason, the first process can't finish writing to the pipe? (it'll get sent a SIGPIPE signal)
b) pipes have a capacity, so if the second process is consuming the input from the pipe slowly, then the first process's writes will block until there's room in the pipe for more data

there are probably others I'm not thinking of though

# orderedItems[].object.contentMap.en
@ololduck I guess the main differences with a pipe are that

a) if the second process crashes for some reason, the first process can't finish writing to the pipe? (it'll get sent a SIGPIPE signal)
b) pipes have a capacity, so if the second process is consuming the input from the pipe slowly, then the first process's writes will block until there's room in the pipe for more data

there are probably others I'm not thinking of though

# orderedItems[].object.content
@Gottox i think that syntax is possibly the worst thing in the shell (all I can I ever convince myself to remember is that cmd > file.txt 2>&1 does what I want and the other one doesn’t)

# orderedItems[].object.contentMap.en
@Gottox i think that syntax is possibly the worst thing in the shell (all I can I ever convince myself to remember is that cmd > file.txt 2>&1 does what I want and the other one doesn’t)

# orderedItems[].object.content
working on this unix redirects diagram today

# orderedItems[].object.contentMap.en
working on this unix redirects diagram today

# orderedItems[].object.attachment[].name
a bunch of diagrams of how stdin/stderr/stdout are structured in different situations

# orderedItems[].object.content
I love this protest game for Toronto bike lanes by @omarieclaire so much, having a lot of fun dying repeatedly

play here: https://marieflanagan.com/loserlane/
#BikeTooter

# orderedItems[].object.contentMap.en
I love this protest game for Toronto bike lanes by @omarieclaire so much, having a lot of fun dying repeatedly

play here: https://marieflanagan.com/loserlane/
#BikeTooter

# orderedItems[].object.attachment[].name
cute ASCII art, saying: 

I survived 10 seconds without a bike lane

picture of person on bike saying "NOOOOO" in front of car

THANKS DOUG

# orderedItems[].object.content
@avanderlip thanks for letting me know, I just made some changes which will hopefully fix it soon. I think Gandi is having a DNS issue

# orderedItems[].object.contentMap.en
@avanderlip thanks for letting me know, I just made some changes which will hopefully fix it soon. I think Gandi is having a DNS issue

# orderedItems[].object.content
@rjbs also maybe you know about this already but I just learned that the are people working on making it possible to copy to your clipboard over SSH in vim with OSC 52 and I thought that was really cool, though I'm not sure if it works https://github.com/fcpg/vim-osc52

# orderedItems[].object.contentMap.en
@rjbs also maybe you know about this already but I just learned that the are people working on making it possible to copy to your clipboard over SSH in vim with OSC 52 and I thought that was really cool, though I'm not sure if it works https://github.com/fcpg/vim-osc52

# orderedItems[].object.content
@rjbs i've been really curious about this idea where you can get your terminal to render tmux tabs as terminal tabs https://github.com/wez/wezterm/issues/336

I tried it in iTerm and there were some issues but I thought it was a really cool idea and I'm interested to see where it goes

# orderedItems[].object.contentMap.en
@rjbs i've been really curious about this idea where you can get your terminal to render tmux tabs as terminal tabs https://github.com/wez/wezterm/issues/336

I tried it in iTerm and there were some issues but I thought it was a really cool idea and I'm interested to see where it goes

# orderedItems[].object.content
Wizard Zines is doing another Big Zine Sale again this year on **Friday, November 29th**! One day only.

here’s a google calendar link for the duration of the sale if you want a reminder: https://wzrd.page/cal (or ical: https://wzrd.page/cal.ics)

# orderedItems[].object.contentMap.en
Wizard Zines is doing another Big Zine Sale again this year on **Friday, November 29th**! One day only.

here’s a google calendar link for the duration of the sale if you want a reminder: https://wzrd.page/cal (or ical: https://wzrd.page/cal.ics)

# orderedItems[].object.attachment[].name
zine sale! coming november 29

50% off PDFWIZARDPRINT code “WIZARDPDF”

30% off print zines with code “WIZARDPRINT”