在 shell 腳本,啟動或關閉 shell 的功能
shopt [-s][-u] option -s 啟動選項 -u 關閉選項 option 選項名稱
shopt [-s][-u] option
lastpipe 不需替管線最後一道指令建立 subshell 而是在腳本所在的相同程序中執行
lastpipe
Last updated 5 years ago