- add comment in sqlite conver script

This commit is contained in:
E_zombie 2010-11-22 10:39:39 +03:00
parent b993e97bb4
commit d86e1b8f0b
1 changed files with 4 additions and 0 deletions

View File

@ -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 = <FILE>;
close (FILE);