solaris + xargs command for solaris

view full story

http://unix.stackexchange.com – the command find /tmp -name 'core*' -type f -print0 | xargs -0 works fine on linux but "xargs -0" option isnt illegal on solaris what the equivalent option ( xargs ? ) for solaris 10 second question: is it possible to change the syntax: "find /tmp -name 'core*' -type f -print0 | xargs -0" So it will fit for both OS - Linux and Solaris I try on my solaris 10 machine: find /tmp -name 'core*' -type f -print0 | xargs -0 xargs: illegal option -- 0 xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args . (HowTos)