瀏覽代碼

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'

Loading…
取消
儲存