HP3000-L Archives

March 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Lines <[log in to unmask]>
Reply To:
David Lines <[log in to unmask]>
Date:
Mon, 20 Mar 2000 17:22:07 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
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

ATOM RSS1 RSS2