Maybe it's because you commented half of it out?

On Sun, Mar 30, 2014 at 07:52:52PM -0400, marst wrote:
> #!/bin/sh
> scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shots' -e 'feh $f'
                               ^^^

Another thing that looks like an issue is the two -e args. It doesn't work
like you think it does, that mv isn't going to happen.

Quickly looking through the source of scrot, it appears that later -e
args just override earlier -e args, they do not both take effect.

>From src/options.c line 86 (in a getopt loop)
        case 'e':
           opt.exec = gib_estrdup(optarg);
           break;

That behavior is pretty common.

Reply via email to