Hot answers tagged

3 votes
Accepted

find with execdir, pipe redirection evaluated too early (quote issue?)

find . ... -execdir zsh -c "git remote get-url origin $(git ...)" \; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Here, the command substitution is inside a double-...
ilkkachu's user avatar
  • 138k
1 vote
Accepted

Performing character-level comparison of "strings" without explicitly creating temporary files for git diff

This won't be possible with pipe-based redirection as in your bash's <(). But: with zsh-isms, it should work. There is the temporary file expansion =(): #!/usr/bin/zsh # use zsh instead of bash # ...
sina bala's user avatar
  • 429
1 vote

Intercepting/debugging wrapper over a program with bidirectional command/response interface

You'd have to start with a few assumptions. Especially, that your one program doesn't send be commands before your target program is done sending the reply to the previous command. Otherwise, logging ...
sina bala's user avatar
  • 429

Only top scored, non community-wiki answers of a minimum length are eligible