You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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 }')
The text was updated successfully, but these errors were encountered:
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?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 }')
The text was updated successfully, but these errors were encountered: