Skip to content

Instantly share code, notes, and snippets.

@didip
Created December 3, 2009 16:13
Show Gist options
  • Save didip/248278 to your computer and use it in GitHub Desktop.
Save didip/248278 to your computer and use it in GitHub Desktop.
#!/bin/bash
perl -ne 'm/^([^#][^\s=]+)\s*(=.*|)/ && printf("%-35s%s\n", $1, $2)' /etc/mysql/my.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment