Playing WAVE '/usr/share/sounds/question.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
sh>aplay /usr/share/sounds/question.wav & files="%N" (29800) returned '0'
sh>filescleaned=$(echo "$files" | sed "s/&/\\\&/g") (29802)
sh>filescleaned=$(echo "$files" | sed "s/&/\\\&/g") (29802) returned '690120495'
sh>filesformatted=$(echo "$filescleaned" | sed "s/' '/'\\\n'/g") (29805)
sh>filesformatted=$(echo "$filescleaned" | sed "s/' ... \\n'/g") (29805) returned '0'
>zenity --question --title="Remove..." --window-icon="/usr/share/icons/Tango/16x16/actions/edit-delete.png" --width=400 --text="Do you wish to permanently\nremove these files?\n\n$filesformatted" (29807)
>zenity --question --title="Remove..." ... n\n$filesformatted" (29807) returned '0'
Комментарии
олди-шамбов всяких нужно разогнать для начала.
и подложил свинью, чтобы показать, что вот он какой.
И действительно же, оказалось, что да, он именно такой. А тот, кому свинью подкладывали — никакой.
Не смог ни предвидеть, но противопоставить.
Вы вот мне лучше скажите — почему у меня emelfm2 вот такую команду не хавает:
aplay /usr/share/sounds/question.wav & files="%N" ; filescleaned=$(echo "$files" | sed "s/&/\\\&/g") ; filesformatted=$(echo "$filescleaned" | sed "s/' '/'\\\n'/g") ; zenity --question --title="Remove..." --window-icon="/usr/share/icons/Tango/16x16/actions/edit-delete.png" --width=400 --text="Do you wish to permanently\nremove these files?\n\n$filesformatted" ; if [ $? = 0 ] ; then sudo rm -r %F || { zenity --error --text="an error occurred!\ncheck if you are\nallowed to remove\nthe selected files"; }; fi
Смотрите что пишет, гад:
sh>aplay /usr/share/sounds/question.wav & files="%N" (29800)
Playing WAVE '/usr/share/sounds/question.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
sh>aplay /usr/share/sounds/question.wav & files="%N" (29800) returned '0'
sh>filescleaned=$(echo "$files" | sed "s/&/\\\&/g") (29802)
sh>filescleaned=$(echo "$files" | sed "s/&/\\\&/g") (29802) returned '690120495'
sh>filesformatted=$(echo "$filescleaned" | sed "s/' '/'\\\n'/g") (29805)
sh>filesformatted=$(echo "$filescleaned" | sed "s/' ... \\n'/g") (29805) returned '0'
>zenity --question --title="Remove..." --window-icon="/usr/share/icons/Tango/16x16/actions/edit-delete.png" --width=400 --text="Do you wish to permanently\nremove these files?\n\n$filesformatted" (29807)
>zenity --question --title="Remove..." ... n\n$filesformatted" (29807) returned '0'
Command 'if' — No such file or directory
No item selected in other pane
Failed to expand macros
Command '}' — No such file or directory
Command 'fi' — No such file or directory
И, даже, если причина не в этом, то все-равно не жаль.
Денежки надо зарабатывать чистыми руками....
это кто тебе такое сказал?))
Они там в своих доках сами себе постят, сами и читают.