소스 검색

Add wiki-sections-sort

master
JustAnotherArchivist 4 년 전
부모
커밋
9b8f223776
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      wiki-sections-sort

+ 3
- 0
wiki-sections-sort 파일 보기

@@ -0,0 +1,3 @@
#!/bin/bash
# Sort == level-two wiki sections == alphabetically while keeping all section contents (including subsections) in the given order
tr '\n' '\r' | sed 's,\r== ,\n== ,g' | sort | tr '\r' '\n'

불러오는 중...
취소
저장