Anonymous
public shellscript v1 · immutablefunction getraw { if test "$1" = "dmesg" then ; if test $DMESG!="" then ; RAW_DMESG=$(dmesg); DMESG="dmesg output\n\n\n$RAW_DMESG"; fi fi if "$1" = "lspci" then ; if test $LSPCI!="" then ; RAW_LSPCI=$(lspci); LSPCI="lspci output\n\n\n$RAW_LSPCI" fi fi }