[Ilugc] argp implement option with multiple values

2015-01-06 Thread km
Dear All, I am using argp ecosystem for designing command line options for a c program. I have a question. How do I implement arguments that take multiple values - i mean how do I parse those multiple strings linked to that argument ? I have not seen any examples in the official documentation http

Re: [Ilugc] argp implement option with multiple values

2015-01-06 Thread Shakthi Kannan
Hi, --- On Tue, Jan 6, 2015 at 4:48 PM, km wrote: | How do I implement arguments that take multiple values - \-- Can you give an example? You might want to look at Chapter 2 from 'Advanced Linux Programming': http://www.advancedlinuxprogramming.com/alp-folder/alp-ch02-writing-good-gnu-linux

Re: [Ilugc] argp implement option with multiple values

2015-01-06 Thread km
Like for example $ myexecutable --iter 1 --inputfiles test1.dat test2.dat test3.dat --random 1 Here --inputfiles option should be able to take up multiple values ( in this case *.dat). This is the problem and I am trying to implement it using argp (as it automates some options like --usage and --h

Re: [Ilugc] argp implement option with multiple values

2015-01-06 Thread Shakthi Kannan
Hi, --- On Tue, Jan 6, 2015 at 5:35 PM, km wrote: | Here --inputfiles option should be able to take up multiple values \-- You can: #1 Pass these as arguments to the program without an option. #2 Store the input filenames in a file, and pass the file as an argument. #3 Use --inputfile multipl

Re: [Ilugc] Call for speakers -January Month Meet

2015-01-06 Thread Siva Karthikeyan
Topic: *Tamil Wiki 100 User who can do 100 Edits* Description: An Initiative by tamil wikipedians to attract and retain more users to volunteer to edit tamil wikipedia. This talk would also include some information about the ways in which contribution can be made to tamil wikipedia. Links: https://

Re: [Ilugc] Mysql SSL segmentation fault

2015-01-06 Thread Balasubramaniam Natarajan
Okay finally figured out what the problem was. Redhat mysql-server or mysql-client version 5.1.73 would work with PKCS#8, However mysql-client-5.5 on debian wheezy would not work with PKCS#8 I had to convert them to PKCS#1 for them to work as shown in [1]. openssl rsa -in key_in_pkcs1_or_pkcs8.pe