[alsa-devel] alsa-info: lots of mostly syntactic changes
GitHub pull_request - edited
github at alsa-project.org
Mon Dec 16 22:56:01 CET 2019
alsa-project/alsa-utils pull request #29 was edited from E5ten:
- remove all bashisms and change shebang to #!/bin/sh
- replace use of which with command -v for portability
- remove awk dependency
- general cosmetic consistency:
- indentation
- always put then or do on the same line as if, for, or while
- quote much more, especially when the variable refers to a file
- replace many uses of >> $FILE with command grouping and single
redirects of the command groups
- simplify text processing pipelines, mostly by turning them into
a single sed command
Request URL : https://github.com/alsa-project/alsa-utils/pull/29
Patch URL : https://github.com/alsa-project/alsa-utils/pull/29.patch
Repository URL: https://github.com/alsa-project/alsa-utils
More information about the Alsa-devel
mailing list