mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
tests: Filter out backspace characters from manual pages in alpine
This commit is contained in:
parent
2e2ab311a6
commit
e63d6f9e99
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
|||
- name: Get list of options from manual page
|
||||
ansible.builtin.shell: >-
|
||||
set -o pipefail && man sshd_config \
|
||||
| sed 's/\x08.//g' \
|
||||
| grep -o '^ [A-Z][A-Za-z0-9]*\(.\| \)' \
|
||||
| grep -v "[A-Za-z0-9] $" | grep -v "[^A-Za-z0-9 ]$" \
|
||||
| awk '{ print $1 }' \
|
||||
|
|
Loading…
Reference in a new issue