fix(builtins): handled empty xargs replace input

- Prevented replace mode from executing without a stdin argument.

- Covered the GNU-compatible empty-input no-op contract.

Fixes #8595
This commit is contained in:
roboomp
2026-08-15 00:24:29 +00:00
parent ffd53ff92a
commit 7f5590258e
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed the native `xargs` builtin panicking in `-I`/`-i` replace mode when stdin is empty; it now exits successfully without running the command, matching GNU behavior ([#8595](https://github.com/can1357/oh-my-pi/issues/8595)).
## [17.3.4] - 2026-08-14
### Added