in reply to Is there a limit on STDIN string size 259?

hmm.. it works fine on my machine... does this work for you?
(you should surround your code with <code> tags..)
% perl -e 'print join(" ",map $_->[0]x$_->[1], (["a",64],["b",64],["c" +,65],["d",65]))' | perl -e '$_=<STDIN>; foreach(split){print "$_\n"}' =head1 OUTPUT aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd

-Blake

Replies are listed 'Best First'.
Re:{2} Is there a limit on STDIN string size 259?
by jeroenes (Priest) on Nov 15, 2001 at 13:19 UTC
    blakem, I think he ment that this was the largest string he could handle. For good measure, I ran your line with the numbers 274,74,85,85 and it works on my box.

    I repeated this with yesterdays framechat log (nice and long textfile):

    perl -e '$a=join "", <STDIN>; $a=~tr/\n/ /s; print $a'\ </tmp/20011113.txt | \ perl -e '$_=<STDIN>; foreach(split){print "$_\n"}' | less
    Works. Would this mean that there is an issue with the solaris shell?

    Jeroen