01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XARGS ( 1) XARGS ( l )<br />

The user is asked which files in the current directory are to be<br />

archived and archives them into arch (1.) one at a time, or (2.)<br />

many at a time.<br />

1. Is I xargs -p -1 ar r arch<br />

2. Is I xargs -p -1 I xargs ar r arch<br />

The following will execute diff(I) with successive pairs of arguments<br />

originally typed as shell arguments:<br />

echo $* I xargs -n2 diff<br />

DIAGNOSTICS<br />

Self explanatory.<br />

- 3-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!