Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
JNRowe
on Aug 21, 2021
|
parent
|
context
|
favorite
| on:
An Opinionated Guide to Xargs
One way which isn't great, but an option nonetheless… The zsh parser is happy with that form:
$ zsh -c '< <(echo hi) while read a; do echo "got $a"; done' got hi
My position isn't that it is a good reason to switch shells, but if you're using it anyway then it is an option.
fiddlerwoaroof
on Aug 21, 2021
[–]
I’ve always preferred zsh and, as I’ve slowly adopted nix, I’ve slowly stopped writing bash in favor of zsh
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: