Updated comments.

Added configuration converter file.
This commit is contained in:
Robin Johnson
2002-04-24 19:14:20 +00:00
parent c5b6c197a6
commit 8a063666bc
3 changed files with 27 additions and 0 deletions

19
scripts/convertcfg.pl Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/local/bin/perl
#
# $Id$
#
# Configuration converter
# Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
#
# Takes input from STDIN, sends output to STDOUT
#
# By Robin Johnson robbat2@users.sourceforge.net
# Many thanks to Patrick Lougheed pat@tfsb.org
#
while(<>)
{ s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
print;
}

View File

@@ -1,4 +1,9 @@
#!/bin/sh
#
# $Id$
#
# Script to remove ^M from files for DOS <-> UNIX conversions
#
if [ $# != 1 ]
then