marc@pinet.aip.org (Marc Wiener) (04/19/91)
I am trying to use xargs on a Dec 5000 under Ultrix 4.0. Here is what I type:
ls /usr/xy1/marc/tmp | xargs -i -t mv /usr/xy1/marc/tmp/\{} /tmp/\{}
mv /usr/xy1/marc/tmp/CRONTST /tmp/CRONTST
mv /usr/xy1/marc/tmp/core /tmp/core
mv /usr/xy1/marc/tmp/default.DECterm /tmp/default.DECterm
Segmentation fault (core dumped)
While it does the move it also core dumps. I have tried the same
command on a Berkeley system and it runs fine. Am I doing something wrong?
marc
--
--MORE--(78%)
Marc Wiener | marc@pinet.aip.org
American Institute of Physics | marc@aip.bitnet
//PgUp/PgDn/Home/End:Movement keys C:Clipboard F:Find W:Write ESC:Exit
--
Marc Wiener | marc@pinet.aip.org
American Institute of Physics | marc@aip.bitnet
500 Sunnyside Blvd. |
Woodbury, NY 11797 | (516)349-7800marc@pinet.aip.org (Marc Wiener) (04/22/91)
In article <1991Apr19.154624.27315@pinet.aip.org> marc@pinet.aip.org (Marc Wiener) writes: > >I am trying to use xargs on a Dec 5000 under Ultrix 4.0. Here is what I type: > >ls /usr/xy1/marc/tmp | xargs -i -t mv /usr/xy1/marc/tmp/\{} /tmp/\{} >mv /usr/xy1/marc/tmp/CRONTST /tmp/CRONTST >mv /usr/xy1/marc/tmp/core /tmp/core >mv /usr/xy1/marc/tmp/default.DECterm /tmp/default.DECterm >Segmentation fault (core dumped) > Following up my opwn posting and thanks to the suggestion of Jack Bryans I am now using GNU's xargs which works without problems. marc -- Marc Wiener | marc@pinet.aip.org American Institute of Physics | marc@aip.bitnet 500 Sunnyside Blvd. | Woodbury, NY 11797 | (516)349-7800