diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-03 18:07:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-03 18:07:06 +1200 |
commit | 9354f642d0216646a0f60bd514b96ca28ba4c19d (patch) | |
tree | c41ecffef96e0c966a8ee9197dfd8a8bb6371167 /test | |
parent | Add dr(6) (diff) | |
download | dotfiles-9354f642d0216646a0f60bd514b96ca28ba4c19d.tar.gz dotfiles-9354f642d0216646a0f60bd514b96ca28ba4c19d.zip |
Correct ordering of pipes for test
Diffstat (limited to 'test')
-rwxr-xr-x | test/man | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,11 +18,15 @@ td=$(mktd test-man) || exit for dir in bin games ; do ( cd -- "$dir" pa * -) done | sort | sed 's/\...*$//' > "$td"/bin +) done | +sed 's/\...*$//' | +sort | uniq > "$td"/bin for dir in man/man[168] ; do ( cd -- "$dir" pa *.[168] -) done | sort | sed 's/\.[168]$//' > "$td"/man +) done | +sed 's/\.[168]$//' | +sort | uniq > "$td"/man # Get lists of noman scripts and nobin manual pages comm -23 "$td"/bin "$td"/man > "$td"/noman |