File: mkvappend

package info (click to toggle)
hxtools 20221119-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,760 kB
  • sloc: ansic: 5,114; perl: 3,612; cpp: 2,727; sh: 1,622; makefile: 156
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[@]}"