[Klug-general] Bash scripting help
dan
danattwood at googlemail.com
Sat May 2 12:14:23 UTC 2009
Mike Evans wrote:
>
>> Yes it's definitely a bash script
>>
>> I'm not willing to give out the rest fo the code at the moment as i'm
>> using it as learning project and don't really want anyone else to finish
>> it for me. Although I will of course open source it all when i've finished!
>>
>>
> I can't replicate this. Can you give us just the line of the function?
>
> I'm using bash 3.2.33
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
The function itself is;
ExportChoice () {
export programs=`get_iplayer "$Pref" | zenity --title "$Windowtitle"
--text "$MessageTypeCategory" --list --separator=":" --width 500
--height 500 --column "programs" `;
if [ $? = 1 ];
then exit
fi
}
More information about the Kent
mailing list