Implement -E eofstr for xargs(1)

This commit is contained in:
sin
2014-01-07 11:53:55 +00:00
parent 7a5369ae04
commit e27c55aec3
2 changed files with 15 additions and 4 deletions

View File

@@ -4,8 +4,10 @@ xargs \- constuct argument list(s) and execute command
.SH SYNOPSIS
.B xargs
.RB [ \-r ]
.RB [ \-E
.IR eofstr ]
.RI [ cmd
.RI [arg... ] ]
.IR [arg... ] ]
.SH DESCRIPTION
xargs reads space, tab, newline and EOF delimited strings from stdin
and executes the specified cmd with the strings as arguments.
@@ -26,6 +28,9 @@ newlines, may be escaped by a backslash.
.BI \-r
Do not run the command if there are no arguments. Normally the command is
executed at least once even if there are no arguments.
.TP
.B \-E eofstr
Use eofstr as a logical EOF marker.
.SH EXIT STATUS
xargs exits with one of the following values: