#! /bin/sh # # $NetBSD: xargs-sh,v 1.1 2007/07/01 23:27:43 tnn Exp $ # # xargs(1) on Interix is broken. It executes the utility on the command line # even if standard input is the empty string. d="`/bin/cat`" if [ "$d" != "" ] then echo "$d" | /bin/xargs $@ exit $? fi