Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Error 0403-027 The parameter list is too long?

Re: Error 0403-027 The parameter list is too long?

From: Stephan Loescher <loescher_at_leo.org>
Date: 23 Oct 1999 14:12:03 +0000
Message-ID: <m3vh7y88uk.fsf@sl.sl.de>


v1_0_at_my-deja.com writes:

Hi!

> 4) write a script to do the command on each file
> for filename in `ls`
> do
> if [ $filename .some test to make sure right file. ]
> then
> echo "Doing 'command' to $filename"
> command $filename ....
> fi
> done

Why not use xargs?

find /mypath/ -name "*.dbf" | xargs command

Stephan.

--
loescher_at_leo.org
http://www.leo.org/~loescher/
Try the LEO-archive: http://www.leo.org/archiv/archiv_e.html Received on Sat Oct 23 1999 - 09:12:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US