File: mkvappend

package info (click to toggle)
hxtools 20231224-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,640 kB
  • sloc: ansic: 4,825; perl: 3,463; sh: 1,629; cpp: 353; makefile: 149
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[@]}"