X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=video%2Fff_catvideo;h=34aafd2f7617457e2271be9ca6e98d333469198e;hb=4bbd85cc7f5986417f7b9b866d075de33a4be0f4;hp=852a349f664d6499680481118cd4a14d2f765e1c;hpb=7613b0295eb74910ca642b8ef030cb48bda61d17;p=audio-cdr-video.git diff --git a/video/ff_catvideo b/video/ff_catvideo index 852a349..34aafd2 100755 --- a/video/ff_catvideo +++ b/video/ff_catvideo @@ -1,12 +1,13 @@ #! /bin/sh -if [ -z "$2" ]; then - echo "Usage: $0 output.avi input1.avi [input2.avi...]" +if [ -z "$1" ]; then + echo "Usage: [output=output.avi] $0 input1 [input2...]" exit 1 fi -output="$1" -shift +if [ -z "$output" ]; then + output=output.avi +fi i=1 for input in "$@"; do