RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
It worked. thanks -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 11:03 AM To: Ant Users List Subject: RE: find file in specify directory and its sub-directory pathsep="${line.separator}" --- Ben Tu <[EMAIL PROTECTED]>

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Matt Benson
gt; > Thanks, Ben > > > -Original Message- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2008 10:35 AM > To: Ant Users List > Subject: Re: find file in specify directory and its > sub-directory > > Are your sed commands trying to s

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
AM To: Ant Users List Subject: Re: find file in specify directory and its sub-directory Are your sed commands trying to strip off the leading ./ , then escape dollar signs found? If so, the second probably wouldn't be relevant: Something like that? HTH, Matt --- Ben Tu <[EMAIL P

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
Scot, Thank you for your response. This returns the number of files not the list of actual files. Ben -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 10:28 AM To: Ant Users List Subject: Re: find file in specify directory and its sub

Re: find file in specify directory and its sub-directory

2008-10-07 Thread Matt Benson
Are your sed commands trying to strip off the leading ./ , then escape dollar signs found? If so, the second probably wouldn't be relevant: Something like that? HTH, Matt --- Ben Tu <[EMAIL PROTECTED]> wrote: > Hi, > I would like to accomplish the similar task below in > ant script. >

Re: find file in specify directory and its sub-directory

2008-10-07 Thread Scot P. Floess
You might check the resourcecount target On Tue, 7 Oct 2008, Ben Tu wrote: Hi, I would like to accomplish the similar task below in ant script. Does anyone know how? find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt thanks

find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
Hi, I would like to accomplish the similar task below in ant script. Does anyone know how? find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi