diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 16:24:55 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 16:24:55 +1200 |
commit | 278d8321d8ed556f21d9f7138e9375a1154cdef5 (patch) | |
tree | f2a60e9f931b41184e5fdd8f98bcaf3dcf343ef2 /check | |
parent | Merge branch 'master' into freebsd (diff) | |
parent | Correct comment in bashrc (diff) | |
download | dotfiles-278d8321d8ed556f21d9f7138e9375a1154cdef5.tar.gz dotfiles-278d8321d8ed556f21d9f7138e9375a1154cdef5.zip |
Merge branch 'master' into freebsd
Diffstat (limited to 'check')
-rwxr-xr-x | check/man | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -15,18 +15,14 @@ done td=$(mktd test-man) || exit # Get lists of logical binaries and manual pages -for dir in bin games ; do ( - cd -- "$dir" - pa * -) done | -sed 's/\...*$//' | -sort | uniq > "$td"/bin -for dir in man/man[168] ; do ( - cd -- "$dir" - pa *.[168] -) done | -sed 's/\.[168]$//' | -sort | uniq > "$td"/man +# shellcheck disable=SC2016 +find bin games -type f -print | + sed 's_.*/__;s_\..*$__' | + sort | uniq > "$td"/bin +# shellcheck disable=SC2016 +find man/man[168] -type f -name '*.[168]df' -print | + sed 's_.*/__;s_\..*$__' | + sort | uniq > "$td"/man # Get lists of noman scripts and nobin manual pages comm -23 "$td"/bin "$td"/man > "$td"/noman |