I am having trouble with the xargs command and I was wondering if anyone
could help me out.
I have a file chtst.sh with one command in it: echo $1
to try and resolve the problem I have also done the following:
chmod 777 chtst.sh
I then type in:
find /SYS/PUB/A* | xargs -n1 -i echo {}
and I get a list of files in /SYS/PUB that begin with A
next I tried:
find /SYS/PUB/A* | xargs -n1 -i chtst.sh {}
and I get the following error message:
xargs: chtst.sh: not executable: Error 0
What am I doing wrong? My permissions show as -rwxrwxrwx on that file, but
I assume that there is something wrong with my permissions. Any
suggestions?
Thanks in advance for the help.
David