Files
linux/kernel
Masahiro Yamada 9a06635718 kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'
The 'head' and 'tail' commands can take a file path directly.
So, you do not need to run 'cat'.

  cat kernel/kheaders.md5 | head -1

... is equivalent to:

  head -1 kernel/kheaders.md5

and the latter saves forking one process.

While I was here, I replaced 'head -1' with 'head -n 1'.

I also replaced '==' with '=' since we do not have a good reason to
use the bashism.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-11-11 20:10:01 +09:00
..
2019-09-15 21:37:13 +02:00
2019-10-21 02:05:21 +02:00
2019-05-28 17:46:43 -04:00
2019-07-25 08:36:29 -07:00
2019-11-05 15:50:14 +01:00
2019-05-24 20:16:01 +02:00