[Bug 270867] xargs -E is not working properly
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Apr 2023 15:49:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270867
Bug ID: 270867
Summary: xargs -E is not working properly
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: koichi@nksm.name
With the -E option, an empty line or a line beginning with a space terminates
the readout there.
Expected 1:
$ printf '%s\n' a b '' d e | xargs -Ex
a b d e
Actual 1:
$ printf '%s\n' a b '' d e | xargs -Ex
a b
Expected 2:
$ printf '%s\n' a b ' c' d e | xargs -Ex
a b c d e
Actual 2:
$ printf '%s\n' a b ' c' d e | xargs -Ex
a b
Perhaps a related issue, when two or more characters are specified in the -E
option, the reading is terminated with a string different from the specified
string.
Expected 3:
$ printf '%s\n' a b c d e | xargs -Ecc
a b c d e
Actual 2:
$ printf '%s\n' a b c d e | xargs -Ecc
a b
--
You are receiving this mail because:
You are the assignee for the bug.