3

私は、その構成で lsusb からのデバイス ID を必要とするプログラムのインストール スクリプトに取り組んでいるので、次のことを考えていました。

$usblist=(lsusb)
#put the list into a array for each line.
#use the array to give the user a selection list usinging whiptail.
#from that line strip out the device id and vender id from the selected line.

申し訳ありませんが、私は自分のコードをあまり理解していませんが、これに固執しており、自分がやりたいことを行う方法がわかりません。誰か助けてください。私はシェルスクリプトに非常に慣れていません

4

2 に答える 2