This code is reading information from a README.md file in a specific directory. It extracts the values for the author, version, introduce, contact_email, contact_number, and remove variables using regular expressions and assigns them to those variables.

It then checks the value of the remove variable. If it is "0", it sets the value of remove to "不可删除" (meaning "not removable" in Chinese). Otherwise, it sets remove to "可删除" (meaning "removable" in Chinese).

Finally, it displays a message box using the whiptail command with the title "$OPTIONplugins--$version" and the content "作者:$author \n简介:$introduce \n联系:$contact_email $contact_number \n $remove" (which includes the values of the extracted variables) with a size of 10 lines by 60 columns

author=$grep -oP authorssK^+ gancmplugins$OPTIONpluginsREADMEmd			version=$grep -oP versionssK^+ gancmplugins$OPTIONpluginsREADMEmd			introduce=$grep -oP introducessK^+ gancmplugins$OPTIONpluginsREADM

原文地址: http://www.cveoy.top/t/topic/iuNf 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录