6 lines
170 B
Bash
6 lines
170 B
Bash
#!/usr/bin/env sh
|
|
# DEPENDS ON: awk, grep
|
|
|
|
bdistro() {
|
|
printf "%s" "$(grep -io '^NAME=.*$' </etc/os-release | awk '{split($0,name,"="); print tolower(name[2]) }')"
|
|
}
|