bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash parameters list too long ?!


From: Chet Ramey
Subject: Re: bash parameters list too long ?!
Date: Mon, 19 Aug 2002 13:43:43 -0400

> A ls *.eml in a dir that have 40 000 files gives me:
> $> ls *.eml
> bash: /bin/ls: Liste de paramètres trop longue
> that means parameters list too long ...

This doesn't have anything to do with bash per se; it's just bash reporting
the error.

There is a maximum to the total number of bytes in the
arguments+environment that the exec* family of system calls will
accept, and the filenames are causing that limit to be exceeded. 

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]