[alsa-devel] alsa-info: lots of mostly syntactic changes

GitHub pull_request - opened github at alsa-project.org
Wed Oct 23 19:30:41 CEST 2019


alsa-project/alsa-utils pull request #29 was opened 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 done 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