* (#9400 P3a) trap-logging: replace useless cat with direct file arguments - gzip < file → gzip -c file (direct argument, -c for stdout) - cat file | ansi2txt → ansi2txt < file (ansi2txt has no file argument) - Remove now-unnecessary shellcheck disable=SC2002 comments * (#9400 P3a) logging: replace useless cat with direct file argument - cat file | grep | sed → grep file | sed (grep accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) initrd: replace useless cat with direct file argument - cat file | md5sum → md5sum file (md5sum accepts filename directly) * (#9400 P3a) write-device: replace useless cat with direct file argument - cat file | awk → awk file (awk accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) export-logs: replace useless cat with direct file argument - cat file | sed → sed file (sed accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) python-tools: replace cat subshell with $(<file) syntax - $(cat file) → $(< file) (bash builtin, no subprocess) * (#9400 P3a) artifact-armbian-base-files: replace useless cat with direct file argument - cat file | grep → grep file (grep accepts filename directly) |
||
|---|---|---|
| .. | ||
| compress-checksum.sh | ||
| fingerprint.sh | ||
| initrd.sh | ||
| loop.sh | ||
| partitioning.sh | ||
| rootfs-to-image.sh | ||
| write-device.sh | ||