Category "unix"

Bash command line and input limit

Is there some sort of character limit imposed in bash (or other shells) for how long an input can be? If so, what is that character limit? I.e. Is it possible

make aborting because zip exits with status 12

make is halting and reporting an error code of 12 after attempting to zip -u some files. The error code 12 is actually an exit status from zip which indicates

How to make a multi-character parameter in UNIX using getopt?

I'm trying to make a getopt command such that when I pass the "-ab" parameter to a script, that script will treat -ab as a single parameter. #!/bin/sh args=`ge