URL: <https://savannah.gnu.org/bugs/?65998>
Summary: xargs strange behavior Group: findutils Submitter: None Submitted: Wed 17 Jul 2024 12:34:25 PM UTC Category: xargs Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Andrejka Originator Email: zerap...@gmail.com Open/Closed: Open Discussion Lock: Any Release: None Fixed Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Wed 17 Jul 2024 12:34:25 PM UTC By: Anonymous Hi, may be this is not a bug, but seems strage to me, as if xargs parses first word ('-e', '-n' from example) as it's own option... $ echo '-e test1 -e test2' | xargs test1 -e test2 $ echo '-n test1 -n test2' | xargs test1 -n test2$ #There is no 'z' xargs option $ echo '-z test1 -z test2' | xargs -z test1 -z test2 $ echo '-e test1 -e test2' | xargs -I '{}' echo '{}' -e test1 -e test2 Versions: findutils-4.9.0-2.fc37.aarch64 bash-5.2.21-1.fc37.aarch64 $ find --version find (GNU findutils) 4.9.0 ....SKIP.... $ bash --version GNU bash, version 5.2.21(1)-release (aarch64-redhat-linux-gnu) ....SKIP.... _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65998> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature