Changes between Version 2 and Version 3 of wade/linux/bash


Ignore:
Timestamp:
Dec 23, 2009, 10:55:33 AM (15 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wade/linux/bash

    v2 v3  
    1515echo $a
    1616}}}
     17==
     18
     19= whiptail =
     20產生對話式選單
     21{{{
     22whiptail --menu "test" 0 0 0 a1 "test a1" a2 "test a2"
     23}}}
     24做一個選單,test a1 選項結果為 a1, test a2 選項結果為 a2
     25
     26{{{
     27whiptail --menu "test" 0 0 0 a1 "test a1" a2 "test a2" 2> tmp
     28}}}
     29將結果輸出至 tmp 內