Problem using ';' in an INI file and parsing

Discussion in 'Perl Misc' started by Colin O'Keeffe, Oct 13, 2008.

  1. Hi,

    I'm using Config::Abstract::Ini to parse an INI file im using to store
    configuration information. The problem is in my INI file one of the
    entries is a BASH command like so

    command1 = "cat myfile.txt | while read LINE ; do awk -F ',' '{print
    $5}' ; done"

    Now when it's parsed, it only comes out as

    cat myfile.txt | while read LINE

    as there's the ; in the command. is there any way to get the parser to
    ignore this? can a hex or decimal representation be used in the bash
    command?

    thanks
     
    Colin O'Keeffe, Oct 13, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chapman

    Update INI file problem

    chapman, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    438
    chapman
    Jul 31, 2003
  2. Nik Coughlin

    Re: IE 8 and hal.dll and boot.ini

    Nik Coughlin, Jul 12, 2009, in forum: HTML
    Replies:
    1
    Views:
    366
    Nik Coughlin
    Jul 12, 2009
  3. Neredbojias

    Re: IE 8 and hal.dll and boot.ini

    Neredbojias, Jul 12, 2009, in forum: HTML
    Replies:
    2
    Views:
    558
    Neredbojias
    Jul 15, 2009
  4. Rhydian Coombs via .NET 247

    Unable to read/write to .ini file using .dll in webservice

    Rhydian Coombs via .NET 247, Apr 1, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    378
    erymuzuan
    Apr 3, 2005
  5. alfonsobaldaserra

    reading .ini file without using a module

    alfonsobaldaserra, Mar 16, 2011, in forum: Perl Misc
    Replies:
    2
    Views:
    165
    alfonsobaldaserra
    Mar 17, 2011
Loading...

Share This Page