PS re google

Brendan McKay bdm at cs.anu.edu.au
Wed Jan 5 05:42:11 CET 2005


Hi Neil, to avoid that overflow (a documented bug in sh) change it to:

   ls | egrep '^oeis' | ...

Brendan.


* N. J. A. Sloane <njas at research.att.com> [050105 15:24]:
> 
> By the way, i should say in my defense that the reason the improvements
> did not work was (I believe) caused by the following problem with Unix.
> 
> If you try to execute 
> 
>      ls oeis* | ...
> 
> and there are too many files oeis*, you get an error message
> 
>      Arg list too long
> 
> I didn't actually see this message, because the ls command is buried deep
> in the shell scripts, but I assume that is what was causing the "lookup"
> command to fail.
> 
> NJAS





More information about the SeqFan mailing list