This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
little-things
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add wiki-sections-sort
master
JustAnotherArchivist
4 years ago
parent
552a4147c2
commit
9b8f223776
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
wiki-sections-sort
+ 3
- 0
wiki-sections-sort
View File
@@ -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'
Write
Preview
Loading…
Cancel
Save