The little things give you away... A collection of various small helper stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

4 lines
201 B

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