Skip to content

Commit

Permalink
sort lists
Browse files Browse the repository at this point in the history
  • Loading branch information
spirillen committed Oct 16, 2023
1 parent 525895b commit 5b5efdb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
run: |
pip install --no-cache-dir mypdns
# - 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 -name '*.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 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 -name '*.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: |
Expand Down

0 comments on commit 5b5efdb

Please sign in to comment.