mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Just a little correction regarding sed
This commit is contained in:
parent
4dfb59e091
commit
4537c7d01d
2
AAXtoMP3
2
AAXtoMP3
@ -684,7 +684,7 @@ do
|
|||||||
#ffmpeg version 4+ and on the output for all older versions.
|
#ffmpeg version 4+ and on the output for all older versions.
|
||||||
split_input=""
|
split_input=""
|
||||||
split_output=""
|
split_output=""
|
||||||
if [ "$(($(ffmpeg -version | sed -E 's/[^0-9]*([0-9]).*/\1/g;1q') > 3))" = "1" ]; then
|
if [ "$(($(ffmpeg -version | $SED -E 's/[^0-9]*([0-9]).*/\1/g;1q') > 3))" = "1" ]; then
|
||||||
split_input="-ss ${chapter_start%?} -to ${chapter_end}"
|
split_input="-ss ${chapter_start%?} -to ${chapter_end}"
|
||||||
else
|
else
|
||||||
split_output="-ss ${chapter_start%?} -to ${chapter_end}"
|
split_output="-ss ${chapter_start%?} -to ${chapter_end}"
|
||||||
|
Loading…
Reference in New Issue
Block a user