[Ilugc] XArgs -- Failure of sub-program

  • From: masatran@xxxxxxxxxxxxxxxxxxx (Masatran, R. Deepak)
  • Date: Sat Jun 7 16:08:59 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/>


Other related posts:

  • » [Ilugc] XArgs -- Failure of sub-program - Masatran, R. Deepak