FG
💻 Software

MacOSX 10.6.7 cuts off stdin at 1024 chars

Fresh5 days ago
Mar 15, 20263713 views
Confidence Score0%
0%

Problem

I've written a little perl script that I invoke as follows: I wanted to copy the contents of the input file 'a' from a web browser (a whole wordpress blog entry, to be exact). The copy part works perfectly, the full contents show up in ClipMenu. But when I try to paste it into a file using cat and …

Error Output

perl -pe'...' <a

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: MacOSX 10.6.7 cuts off stdin at 1024 chars

Low Risk

% pbpaste | perl -e '...' You're hitting the maximum line length for the tty. If you switch the tty out of line mode, it'll work. But pbpaste is really what you want.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment