This commit is contained in:
Spirillen 2023-10-16 07:11:07 +02:00
parent 2aa0e75d27
commit f68d12d5f0
No known key found for this signature in database
GPG key ID: 88CC3F27732845AD

View file

@ -41,13 +41,13 @@ jobs:
- name: 'Sort our lists for doublets and order by alphabet'
run: |
# find "${{ github.workspace }}/source/" -mindepth 1 -maxdepth 2 \
# -type f -name '*.list' -exec bash -c "sort -i -u -f '{}' \
# -o '{}' " \;
find "${{ github.workspace }}/source/" -type f -iname '*.list' \
-exec awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", $i; \
print $1}' "{}" + | sort -u | awk -F "." '{for(i=NF; i > 1; i--) \
printf "%s.", $i; print $1}'
find "${{ github.workspace }}/source/" -mindepth 1 -maxdepth 2 \
-type f -name '*.list' -exec bash -c "sort -i -u -f '{}' \
-o '{}' " \;
# find source/ -type f -iname '*.list' -exec awk -F "." \
# '{for(i=NF; i > 1; i--) printf "%s.", $i; print $1}' "{}" + | \
# sort -u | awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", $i; \
# print $1}'
- name: 'Sort our rpz-nsdname for doublets and order by alphabet'
run: |