It's more
tar: cannot open /home/emoaigin/abc.sh
/home/emoaigin/create.jar
/home/emoaigin/make.gz because the i variable contains the entire find output including <LF> line terminators. If...
Two generic (non- HP-UX- specific) comments:
- why the -exec ls -l action for find? You want file names, not a "long listing". Try dropping entirely.
- Does emoaigin have write access to /root -...
Piping into a compressing / zipping command is the / a correct approach if the z is not available. Be aware that the f option needs an archive file - drop it or specify one. For piping it needs...