general: Fix awk missing backslash
This commit is contained in:
parent
d7abf3ce68
commit
e53404e349
2
neofetch
2
neofetch
|
@ -886,7 +886,7 @@ get_cpu() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
cpu="$(awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/
|
cpu="$(awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/\
|
||||||
{printf $2; exit}' "$cpu_file")"
|
{printf $2; exit}' "$cpu_file")"
|
||||||
|
|
||||||
[[ "$cpu" == *"processor rev"* ]] && \
|
[[ "$cpu" == *"processor rev"* ]] && \
|
||||||
|
|
Reference in New Issue