diff options
author | jnats <dev@jnats.xyz> | 2021-05-08 23:04:26 +0100 |
---|---|---|
committer | jnats <dev@jnats.xyz> | 2021-05-08 23:04:26 +0100 |
commit | a05e20dab4d4a43c1cc4f4129fe97360c0551953 (patch) | |
tree | eb6afd62cbbcade018107c35e0472c362e5933e3 /nofetch | |
parent | a0d07827fe803042c19180ea6ee9a8764332e35f (diff) | |
download | nofetch-a05e20dab4d4a43c1cc4f4129fe97360c0551953.tar.gz nofetch-a05e20dab4d4a43c1cc4f4129fe97360c0551953.tar.bz2 |
should fix repeating on freebsd
Diffstat (limited to 'nofetch')
-rwxr-xr-x | nofetch | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -63,9 +63,7 @@ else nofetch="something has gone terribly wrong" fi -osname=$(echo $osname | sed 's/FreeBSD //g') - echo " " echo "> $nofetch" | tr '[:upper:]' '[:lower:]' -echo "> $osname $(uname -smr)" | tr '[:upper:]' '[:lower:]' +echo "> $osname $(uname -smr)" | tr '[:upper:]' '[:lower:]' | sed 's/\b\([a-z]\+\)[ ,\n]\1/\1/g' echo " " |