Changes between Version 2 and Version 3 of wade/linux/bash
- Timestamp:
- Dec 23, 2009, 10:55:33 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/linux/bash
v2 v3 15 15 echo $a 16 16 }}} 17 == 18 19 = whiptail = 20 產生對話式選單 21 {{{ 22 whiptail --menu "test" 0 0 0 a1 "test a1" a2 "test a2" 23 }}} 24 做一個選單,test a1 選項結果為 a1, test a2 選項結果為 a2 25 26 {{{ 27 whiptail --menu "test" 0 0 0 a1 "test a1" a2 "test a2" 2> tmp 28 }}} 29 將結果輸出至 tmp 內