Open ce3a opened 10 years ago
I am running the script on a ARM based NAS, its version of grep does not support the -x option. In the following line, can we use the -o option instead?
grep
-x
-o
SAVETRACKS=$(mkvmerge -i "$MKVFILE" | grep "$AUDIOTRACKPREFIX" | cut -d ":" -f 1 | grep -vx "Track ID $DTSTRACK" | cut -d " " -f 3 | awk '{ if (T == "") T=$1; else T=T","$1 } END { print T }')
I am running the script on a ARM based NAS, its version of
grep
does not support the-x
option. In the following line, can we use the-o
option instead?