Tricky Deleting

Corey Edwards tensai at zmonkey.org
Wed Mar 9 08:30:37 MST 2005


On Wed, 2005-03-09 at 06:35 -0700, Charles Curley wrote:
> The number of times rm is invoked is a function of the maximum command
> line length divided by the typical file path length. Researching the
> maximum command line length will be left as an exercise for the
> student.

The equation for maximum line length:

Avogadro's cmd line constant - how long you've been working
----------------------------------------------------------
            how urgently you need the script

Let's say you've been working on a script for two hours (120 minutes)
and you'd rate it the 5th highest priority item on your schedule. That
means you are allowed:

        8192 - 120
        ----------  = 1614 characters
            5

Now, wasn't that simple?

Corey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://plug.org/pipermail/plug/attachments/20050309/e5e22577/attachment.bin 


More information about the PLUG mailing list