[mythtv-users] User script that takes cutlist & runs project-x?

George Nassas gnassas at mac.com
Thu Jul 15 23:24:16 UTC 2010


On 2010-07-14, at 2:28 PM, olx69 wrote:

>    while read -r mark type; do  # FixMe: better way to get the last?
>        last_frame=$mark
>    done <<< "$cut_list"

last_frame=${cut_list##*[ ]}

In English: it's taking the value of cut_list and removing the longest string of characters which ends with a space.

- George



More information about the mythtv-users mailing list