/usr/bin/xcutmp3 is in xcutmp3 1.9beta1-0.0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/bin/bash
if test -z $(which cmp3)
then kdialog --error "You are missing cmp3. Please install it." ; exit
fi
fifo=$(mktemp -u /tmp/cmp3.XXXXX) && mkfifo $fifo
command="xcutmp3.pl ${fifo}"
if [ ! -e "$@" ] || [ -z "$@" ]
then
name=$(kdialog --getopenfilename $HOME "*.mp3" --title "Please select which MP3 you want to cut")
if [ -z "$name" ] ; then exit ; fi
${command} | cmp3 -i "$name" > ${fifo}
# if [ $exitcode = 77 ]
# then xcutmp3
# fi
exit
fi
${command} | cmp3 -i "$@" > ${fifo}
|