From d86e1b8f0b20efd9b59824e288f1896a9d41c23d Mon Sep 17 00:00:00 2001 From: E_zombie Date: Mon, 22 Nov 2010 10:39:39 +0300 Subject: [PATCH] - add comment in sqlite conver script --- tools/convert_to_sqlite.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/convert_to_sqlite.pl b/tools/convert_to_sqlite.pl index 52a2ffc..9499ca9 100755 --- a/tools/convert_to_sqlite.pl +++ b/tools/convert_to_sqlite.pl @@ -1,7 +1,11 @@ #!/usr/bin/perl +# use script +# sqlite3 users.db < `tools/convert_to_sqlite.pl /etc/uhub/users.conf` + my $input = $ARGV[0]; + open (FILE, "$input") || die "# Unable to open input file $input: $!"; my @lines = ; close (FILE);