Re: TaskWrapper commands with "*.txt" for example
Re: TaskWrapper commands with "*.txt" for example
- Subject: Re: TaskWrapper commands with "*.txt" for example
- From: Jake Repp <email@hidden>
- Date: Wed, 11 Dec 2002 10:00:22 -0800
Check out the man page for glob(3)
Globbing is the term for generating path names that match a pattern.
-jake
On Wednesday, December 11, 2002, at 08:50 AM, John Nairn wrote:
I am using a TaskWrapper to launch a Unix task from a Cocoa
application. I have done it many time before without any trouble.
Today I was using a command that might reference many files such as
grep findme *.txt
but "*.txt" does not get expanded into all files matching that
expression. I guess that is a shell task. Is there a good way to have
such a command executed such that arguments are expanded?
I just tried a TaskWrapper with arguments
0: /bin/csh
1: -c
2: grep findme *.txt
and it might be working. Is this the right way or is there something
else?
------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.mse.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.