[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /bin/cat : argument list is too long
From: |
Steve Ward |
Subject: |
Re: /bin/cat : argument list is too long |
Date: |
Wed, 28 Nov 2007 22:47:27 -0500 |
On Nov 24, 2007 6:58 PM, Eric Blake <address@hidden> wrote:
> <snip>
> >
> > find ./ -name \*.hhm -print0 | sort -z | xargs -0 cat > ...
>
> Except that it recurses into subdirectories, while the command-line glob
> does not. You would also need to use -prune or the non-portable -maxdepth
> 1 with find to limit results to the current directory.
> <snip>
>
Why is -maxdepth 1 non-portable?
Steve
Re: /bin/cat : argument list is too long, Micah Cowan, 2007/11/21