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

i think jeroenes has got it. I have a group of Solaris machine (varying versions), and the ksh that comes with the OS has a command line limit of 256 charcters from what i have seen. To run any command longer than that, i have to break it up using \'s, switch shells, or put the command into a file and run it (as it only appears to be an interactive ksh problem). If you are not using ksh, then i would still take a look into this problem on whichever shell you are using, as it is possible they all share this on Solaris.
i had a memory leak once, and it ruined my favorite shirt.

Replies are listed 'Best First'.
Ah, it does seem to be my ksh
by Malus (Acolyte) on Nov 15, 2001 at 22:41 UTC
    Yes, I am using the ksh for solaris 7.

    When entering into <STDIN> is that passing
    through the korn shell? I can't seem to escape that \$
    end of line character. Is there a way around this without
    using a test file? (a file is looking like a fine idea right
    about now though)

    Thank you for you help.
    Malus

    PS
    I have repeated my problem on the following:
    SunOS 4.1.4 sun4m: perl v5.6.1 sun4-sunos
    IRIX 6.5 IP32: perl v5.004_04
    HP-UX B.11.00 9000/785: perl v4.0.36 (breaks on the 8th 65char string)
    HP-UX B.10.20 9000/785: perl v5.6.1 PA-RISC1.1 (breaks on 8th, also)
    FreeBSD 4.3 i386: perl v5.005_03 i386-freebsd (breaks on 16th word, 65char)