#!/bin/sh ## This generates the contents for the aliases table in ../ChatCommands.md grep "alias_command(" init.lua | sort | sed 's,[^"]*",,;s/"[^"]*"/ /;s/".*//' | awk '{printf("| %-10s | %-18s |\n", "`//" $1 "`", "`//" $2 "`")}'