[Ilugc] XArgs -- Failure of sub-program

Masatran, R. Deepak masatran at research.iiit.ac.in
Sat Jun 7 16:08:08 IST 2008


How do I get XArgs to quit if any invocation of the sub-program, fails?

For example, see:

    $ xargs -l cat <<eof
    1
    2
    3
    eof

    cat: 1: No such file or directory
    cat: 2: No such file or directory
    cat: 3: No such file or directory

How can I get it to behave like:

    $ xargs -l cat <<eof
    1
    2
    3
    eof

    cat: 1: No such file or directory

-- 
Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>




More information about the ilugc mailing list