diff options
| author | krisdoodle45 <86745210+krisdoodle45@users.noreply.github.com> | 2021-10-06 17:12:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-06 17:12:41 +0200 |
| commit | 9ad912fe4eaf8c1b9c844780829aaea693c1e6de (patch) | |
| tree | 8132aa3cf23e3201998428d2c98348803ad53eb1 /.local/bin | |
| parent | a3e76f32b868ab11550417cbfd81dc9eab7a4c28 (diff) | |
| download | eibhear-9ad912fe4eaf8c1b9c844780829aaea693c1e6de.tar.gz eibhear-9ad912fe4eaf8c1b9c844780829aaea693c1e6de.tar.zst eibhear-9ad912fe4eaf8c1b9c844780829aaea693c1e6de.zip | |
Cut isn't needed here
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/statusbar/sb-doppler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-doppler b/.local/bin/statusbar/sb-doppler index edbc88a..cf765f6 100755 --- a/.local/bin/statusbar/sb-doppler +++ b/.local/bin/statusbar/sb-doppler @@ -229,7 +229,7 @@ continentcode=$(echo "$chosen" | sed "s/:.*//") radarcode=$(echo "$chosen" | sed "s/..: // ; s/:.*//") # Sanity check of selection and ensure user did not escape. -echo "$radarcode" | grep -q "^[A-Z]\+$" && printf "$continentcode,$radarcode" | cut -d' ' -f1 > "$radarloc" ;} +echo "$radarcode" | grep -q "^[A-Z]\+$" && printf "%s,%s\\n" "$continentcode" "$radarcode" > "$radarloc" ;} getdoppler() { cont="$(cat "$radarloc" | sed "s/,.*//")" |
