2022-09-28から1日間の記事一覧
タイトルママ。 シェルスクリプトを初めて書きました。 #!/bin/sh ESC=$(printf '\033') LIST=`usbipd.exe wsl list` LINE=`echo "$LIST"|grep Picoprobe` if [ $? = 1 ]; then echo "${ESC}[31mERROR:Picoprobe is not connected${ESC}[m" exit fi STATUS=`…
タイトルママ。 シェルスクリプトを初めて書きました。 #!/bin/sh ESC=$(printf '\033') LIST=`usbipd.exe wsl list` LINE=`echo "$LIST"|grep Picoprobe` if [ $? = 1 ]; then echo "${ESC}[31mERROR:Picoprobe is not connected${ESC}[m" exit fi STATUS=`…