Commits on Oct 5, 2011
Insead, save the actions as they're specified, and do it later in that order after parsing geospec. This has two advantages: - We can die early when an invalid geospec is given- don't even bother interactive selection. - The error message on detecting invalid root dimensions will now respect verbosity. In fact, this is a good reason not to run anything before getopts.
It's easy enough to add support for screencasting tools other than FFmpeg. An obvious example is the avconv command from libav, but almost anything will work. This is possible thanks to KISS, especially the stupid bit. Also, we don't split the command line before getopts. That was dumb.
'declare -i' can introduce subtle bugs, for example: $ declare -i x; a=a; x=a bash: a: expression recursion level exceeded (error token is "a") Note the assignment 'x=a' triggers arithmetic evaluation. Similarly, (( expression )) can introduce such bugs if used carelessly: $ a=a; (( a )) bash: ((: a: expression recursion level exceeded (error token is "a") Realize this, and always sanitize a variable before evaluation.
Commits on Oct 4, 2011
Commits on Oct 3, 2011