It's not the forum, it's your browser. Some browsers (Opera!) add spaces to the end of each line when you copy text from the browser window. An old and well known (but often forgotten ) bug.step wrote:the forum seems to have added a space character at the end of each line in MochiMoppel's script. Make sure to delete such characters or yad will print an error message "No column titles specified for List dialog."
Not a yad issue, but a naming annoyance: Many icons in the directory /usr/local/lib/X11/mini-icons are named mini-something.xpm or mini.something.xpm. When sorting by name they all start with mini. Not very useful. I prefer to strip the mini- or mini. from the name. RIght after the find command I add the line
Code: Select all
FOUND=${FOUND//${SEP}mini[-.]/$SEP}