File: mkvappend

package info (click to toggle)
hxtools 20251011-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,468 kB
  • sloc: ansic: 4,384; perl: 3,467; sh: 1,664; cpp: 353; makefile: 90
file content (12 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
# SPDX-License-Identifier: MIT
outfile="$1"
shift
a=("$1")
shift
j=0
for i in "$@"; do
	j=$[$j+1]
	a[j]="+$i"
done
exec mkvmerge -o "$outfile" "${a[@]}"