Sample Header Ad - 728x90

Unable to read more than 1024 chars on ZSH + MacOS

1 vote
1 answer
403 views
Trying to read a long input into a variable from ZSH on MacOS.
echo "URL: "
    read URL
input is always truncated to 1024 chars... if I try and type additional chars nothing happens. - Input is copy/pasted from PostMan, its an S3 signed upload URL - If I try and delete a few chars from the end (after pasting) I am only able to manually type as many chars as I deleted - I tried using the -n option to no avail (nothing gets read into the variable) How can I read a long input? ~1500 chars
Asked by SoonGuy (131 rep)
Mar 14, 2024, 01:36 PM
Last activity: Mar 14, 2024, 06:13 PM