summaryrefslogtreecommitdiff
path: root/src/udev/generate-keyboard-keys-gperf.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-02-05 21:41:24 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-02-06 09:19:04 +0100
commit7a17e41dcfad2a45d3acced2596f7359bbcd1075 (patch)
tree1014afaf36886db05f222ff495b75bf2827b3142 /src/udev/generate-keyboard-keys-gperf.sh
parentecf4be2952ed13fc1521ae13fcc9543c2f873efe (diff)
downloadsystemd-7a17e41dcfad2a45d3acced2596f7359bbcd1075.tar.gz
test: drop whitespace after shell redirection operators
(The one case that is left unchanged is '< <(subcommand)'.) This way, the style with no gap was already dominant. This way, the reader immediately knows that ' < ' is a comparison operator and ' << ' is a shift. In a few cases, replace custom EOF replacement by just EOF. There is no point in using someting like "_EOL" unless "EOF" appears in the text.
Diffstat (limited to 'src/udev/generate-keyboard-keys-gperf.sh')
-rwxr-xr-xsrc/udev/generate-keyboard-keys-gperf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/generate-keyboard-keys-gperf.sh b/src/udev/generate-keyboard-keys-gperf.sh
index 1db4cbe47d..9f4364c172 100755
--- a/src/udev/generate-keyboard-keys-gperf.sh
+++ b/src/udev/generate-keyboard-keys-gperf.sh
@@ -17,4 +17,4 @@ _Pragma(\"GCC diagnostic ignored \\\"-Wimplicit-fallthrough\\\"\")\n\
/^KEY_/ { print tolower(substr($1 ,5)) ", " $1 }
{ print tolower($1) ", " $1 }
-' < "${1:?}"
+' <"${1:?}"