Beni Cherniavsky-Paskin
Beni Cherniavsky-Paskin
Well as an exaple I empatically hope fish will *not* copy, bash invented "extglob" syntaxes: https://www.linuxjournal.com/content/bash-extended-globbing The reason this is horrible is it reinvents a lot of regexps with yet...
The root of the pipes issue is that for `(... | psub)`, fish uses the stdout of the parenthesized command to "smuggle" the temp file name into the outer command....
Edited above to fix `Invalid redirection target: (subp t1)` bug. Fish does allow (...) as redirect target, it's just my function output nothing, must output exactly 1 line.
To be clear, I don't think connecting to original stdout is a common use case. I also want to mention a benefit of psub-style approach over magic syntax: you can...
BTW, are there any common use cases besides `tee >(...)`?! Thought experiment: if tee is the _only_ case we solve for, would this be any easier? Can we write a...
[grep.app search over github](https://grep.app/search?q=%20%3E%5C%28%5B%5E%29%5D%2A%5C%29®exp=true&filter[lang][0]=Shell) yield a surprising variety of use cases!
## testing bash https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Tilde-Expansion > Each variable assignment is checked for unquoted tilde-prefixes immediately following a `:` or the first `=`. In these cases, tilde expansion is also performed. Yikes,...
## zsh https://unix.stackexchange.com/questions/373519/expansion-of-tilde-in-zsh By default only expands per POSIX — start of word and in actual assignment (I mean with empty zshrc, don't know what zsh-newuser-install tends to set up...
Depends on what syntax you choose for math. See https://github.com/cben/mathdown/wiki/math-in-markdown for what others do — unfortunately no consensus :-( For most syntaxes, for example `$...$` delimeters, post-processing is not quite...
Syntax choice might be influenced by #2292, #2347 — if you're also looking to support Mermaid, PlantUML and other "foreign" syntaxes via literal blocks, makes sense to treat math similarly......